Prevent submit on search_box
issue5289 review19841003
This commit is contained in:
1 parent
2d2c36eeff
commit
b16e83e2ef
1 file changed
+4
-1
+4
-1
@@ -348,7 +348,10 @@
|
||||
this.search_modal = dialog.modal;
|
||||
this.search_form = dialog.content;
|
||||
this.search_form.addClass('form-horizontal');
|
||||
this.search_form.submit(search);
|
||||
this.search_form.submit(function(e) {
|
||||
search();
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
var fields = [];
|
||||
var field;
|
||||
|
||||
Reference in new issue
Block a user