mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX SS-124 SearchForm clear button fixed
This commit is contained in:
parent
bfb99aea6c
commit
35da0e9b46
@ -82,8 +82,11 @@
|
||||
// TODO Enable checkbox tree controls
|
||||
this.find('.checkboxAboveTree :checkbox').attr('disabled', 'false');
|
||||
|
||||
this.resetForm();
|
||||
//the dropdown field wont be reset due to it is applied to chosen.js so need to treated specially
|
||||
this.find('.field.dropdown select').val('').trigger("liszt:updated");
|
||||
this._reloadSitetree();
|
||||
|
||||
this._reloadListview();
|
||||
return false;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user