Merge pull request #772 from ajoneil/treedropdownfield-js-events

FEATURE: Send javascript events on show and hide of treedropdown
This commit is contained in:
Ingo Schommer 2012-09-06 12:51:41 -07:00
commit beb2933b95

View File

@ -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']();