Skip to content
Permalink
Browse files

FEATURE: Send javascript events on show and hide of treedropdown

  • Loading branch information...
andrewandante committed Aug 20, 2012
1 parent 00b6bc8 commit ce68c4a8707d03982dbf68e6aec675e864ef7b6f
Showing with 2 additions and 1 deletion.
  1. +2 −1 javascript/TreeDropdownField.js
@@ -84,7 +84,7 @@
.addClass('ui-icon-triangle-1-n');

if(tree.is(':empty')) this.loadTree();

this.trigger('panelshow');
},
closePanel: function() {
jQuery('body').unbind('click', _clickTestFn);
@@ -100,6 +100,7 @@


this.getPanel().hide();
this.trigger('panelhide');
},
togglePanel: function() {
this[this.getPanel().is(':visible') ? 'closePanel' : 'openPanel']();

0 comments on commit ce68c4a

Please sign in to comment.
You can’t perform that action at this time.