FEATURE: Send javascript events on show and hide of treedropdown

This commit is contained in:
Andrew O'Neil 2012-08-20 13:28:03 +12:00
parent 00b6bc86e2
commit ce68c4a870

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