Manually trigger resize on splitter after load, prevents scrollbar in global categories.

This commit is contained in:
Nathan Gray 2013-12-23 17:24:40 +00:00
parent 9009ef44bb
commit ba106526b1

View File

@ -63,10 +63,13 @@ app.classes.admin = AppJS.extend(
if (iframe)
{
var self = this;
jQuery(iframe.getDOMNode()).bind('load', function(){
self._hide_navbar.call(self);
self.splitter.dock();
});
jQuery(iframe.getDOMNode()).off('load.admin')
.bind('load.admin', function(){
self._hide_navbar.call(self);
self.splitter.dock();
self.splitter.resize();
}
);
}
this.splitter = this.et2.getWidgetById('splitter');
},