Skip to content
This repository
Browse code

BUGFIX: TreeDropdownField wasnt closing, because the closePanel metho…

…d is in an entwine namespace
  • Loading branch information...
commit 8ae4597a854ccae0f7f56c2553a399f697e5c041 1 parent 40cef4d
Hamish Friedlander authored June 15, 2012 chillu committed June 15, 2012

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

  1. 2  javascript/TreeDropdownField.js
2  javascript/TreeDropdownField.js
@@ -16,7 +16,7 @@
16 16
 
17 17
 		var _clickTestFn = function(e) {
18 18
 			// If the click target is not a child of the current field, close the panel automatically.
19  
-			if(!$(e.target).parents('.TreeDropdownField').length) jQuery('.TreeDropdownField').closePanel();
  19
+			if(!$(e.target).parents('.TreeDropdownField').length) $('.TreeDropdownField').closePanel();
20 20
 		};
21 21
 
22 22
 		/**

0 notes on commit 8ae4597

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