From 8ae4597a854ccae0f7f56c2553a399f697e5c041 Mon Sep 17 00:00:00 2001 From: Hamish Friedlander Date: Fri, 15 Jun 2012 10:04:36 +1200 Subject: [PATCH] BUGFIX: TreeDropdownField wasnt closing, because the closePanel method is in an entwine namespace --- javascript/TreeDropdownField.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/TreeDropdownField.js b/javascript/TreeDropdownField.js index fc8e2aff9..ab9ce3c35 100644 --- a/javascript/TreeDropdownField.js +++ b/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(); }; /**