Bug: Global search occurs twice
This commit is contained in:
@@ -39592,6 +39592,7 @@ jQuery.fn.DataTable.defaults.aLengthMenu = [[10, 20, 50, -1], [10, 20, 50, "All"
|
|||||||
$('#term').watermark('Search').keypress(function (e) {
|
$('#term').watermark('Search').keypress(function (e) {
|
||||||
if (e.keyCode == 13) {
|
if (e.keyCode == 13) {
|
||||||
$(this).closest('form').submit();
|
$(this).closest('form').submit();
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}).focus(function () {
|
}).focus(function () {
|
||||||
$(this).select();
|
$(this).select();
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -7,6 +7,7 @@
|
|||||||
$('#term').watermark('Search').keypress(function (e) {
|
$('#term').watermark('Search').keypress(function (e) {
|
||||||
if (e.keyCode == 13) {
|
if (e.keyCode == 13) {
|
||||||
$(this).closest('form').submit();
|
$(this).closest('form').submit();
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}).focus(function () {
|
}).focus(function () {
|
||||||
$(this).select();
|
$(this).select();
|
||||||
|
|||||||
Reference in New Issue
Block a user