Skip to content
Browse files

BUGFIX SS-124 SearchForm clear button fixed

  • Loading branch information...
1 parent bfb99ae commit 35da0e9b4611e39220ceb3627d52716b74731351 @normann normann committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 javascript/CMSMain.js
5 javascript/CMSMain.js
@@ -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._reloadListview();
return false;

0 comments on commit 35da0e9

Please sign in to comment.
Something went wrong with that request. Please try again.