Skip to content

Commit

Permalink
BUGFIX SS-124 SearchForm clear button fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
normann committed Apr 11, 2012
1 parent bfb99ae commit 35da0e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion javascript/CMSMain.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -82,8 +82,11 @@
// TODO Enable checkbox tree controls // TODO Enable checkbox tree controls
this.find('.checkboxAboveTree :checkbox').attr('disabled', 'false'); 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._reloadSitetree();

this._reloadListview();
return false; return false;
}, },


Expand Down

0 comments on commit 35da0e9

Please sign in to comment.