mirror of
https://github.com/NaN-tic/sao-base.git
synced 2023-12-14 03:13:01 +01:00
Prevent submit on search_box
issue5289 review19841003
This commit is contained in:
parent
29f21a73bc
commit
456d8b5d0d
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue