Browse files

BUGFIX: TreeDropdownField wasnt closing, because the closePanel metho…

…d is in an entwine namespace
  • Loading branch information...
1 parent 40cef4d commit 8ae4597a854ccae0f7f56c2553a399f697e5c041 Hamish Friedlander committed with chillu Jun 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/TreeDropdownField.js
View
2 javascript/TreeDropdownField.js
@@ -16,7 +16,7 @@
var _clickTestFn = function(e) {
// If the click target is not a child of the current field, close the panel automatically.
- if(!$(e.target).parents('.TreeDropdownField').length) jQuery('.TreeDropdownField').closePanel();
+ if(!$(e.target).parents('.TreeDropdownField').length) $('.TreeDropdownField').closePanel();
};
/**

0 comments on commit 8ae4597

Please sign in to comment.