Skip to content

Commit

Permalink
BUGFIX: TreeDropdownField wasnt closing, because the closePanel metho…
Browse files Browse the repository at this point in the history
…d is in an entwine namespace
  • Loading branch information
Hamish Friedlander authored and chillu committed Jun 14, 2012
1 parent 40cef4d commit 8ae4597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/TreeDropdownField.js
Expand Up @@ -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();
};

/**
Expand Down

0 comments on commit 8ae4597

Please sign in to comment.