WIP toggle sidebar menu:

- Trigger resize for split widget, too, since the toggle can change the split pane width size
This commit is contained in:
Hadi Nategh 2015-09-10 09:56:38 +00:00
parent 5a950ae8dc
commit 707c68689f

View File

@ -302,12 +302,9 @@ var et2_split = et2_DOMWidget.extend([et2_IResizeable,et2_IPrint],
// Ok, update children
self.iterateOver(function(widget) {
if(widget != self)
{
widget.resize();
// Above forcing is not enough for Firefox, defer
window.setTimeout(jQuery.proxy(function() {this.resize();},widget),200);
}
},self,et2_IResizeable);
});
}