var noHookAction = args.splice(0,1)[0]
var result = false;
- // $.log('calling hook: ', hookName, 'with args: ', args);
+ $.log('calling hook: ', hookName, 'with args: ', args);
if(this.hooks && this.hooks[hookName])
result = this.hooks[hookName].apply(this, args);
else if (noHookAction instanceof Function)
var extra_buttons = $('span.panel-toolbar-extra', toolbar);
var placeholder = $('div.panel-toolbar span.panel-toolbar-extra', this.wrap);
placeholder.replaceWith(extra_buttons);
+ extra_buttons.hide();
var action_buttons = $('button', extra_buttons);