mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
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:
parent
5a950ae8dc
commit
707c68689f
@ -302,12 +302,9 @@ var et2_split = et2_DOMWidget.extend([et2_IResizeable,et2_IPrint],
|
|||||||
|
|
||||||
// Ok, update children
|
// Ok, update children
|
||||||
self.iterateOver(function(widget) {
|
self.iterateOver(function(widget) {
|
||||||
if(widget != self)
|
|
||||||
{
|
|
||||||
widget.resize();
|
widget.resize();
|
||||||
// Above forcing is not enough for Firefox, defer
|
// Above forcing is not enough for Firefox, defer
|
||||||
window.setTimeout(jQuery.proxy(function() {this.resize();},widget),200);
|
window.setTimeout(jQuery.proxy(function() {this.resize();},widget),200);
|
||||||
}
|
|
||||||
},self,et2_IResizeable);
|
},self,et2_IResizeable);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user