Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX SS-124 SearchForm clear button fixed

  • Loading branch information...
commit 35da0e9b4611e39220ceb3627d52716b74731351 1 parent bfb99ae
@normann normann authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 javascript/CMSMain.js
View
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._reloadSitetree();
-
+ this._reloadListview();
return false;
},
Please sign in to comment.
Something went wrong with that request. Please try again.