Skip to content
This repository
Browse code

BUGFIX SS-124 SearchForm clear button fixed

  • Loading branch information...
commit 35da0e9b4611e39220ceb3627d52716b74731351 1 parent bfb99ae
Normann Lou authored April 11, 2012

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. 5  javascript/CMSMain.js
5  javascript/CMSMain.js
@@ -82,8 +82,11 @@
82 82
 				// TODO Enable checkbox tree controls
83 83
 				this.find('.checkboxAboveTree :checkbox').attr('disabled', 'false');
84 84
 
  85
+				this.resetForm();
  86
+				//the dropdown field wont be reset due to it is applied to chosen.js so need to treated specially
  87
+				this.find('.field.dropdown select').val('').trigger("liszt:updated");
85 88
 				this._reloadSitetree();
86  
-		
  89
+				this._reloadListview();
87 90
 				return false;
88 91
 			},
89 92
 	

0 notes on commit 35da0e9

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