mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Trigger a resize to notify listeners of the change in size
Fixes sidebox calendar is too small after expanding sidebar
This commit is contained in:
parent
0e379eeab4
commit
5b10bde980
@ -1271,8 +1271,12 @@ egw_fw_ui_toggleSidebar.prototype.onToggle = function(_callbackContext)
|
|||||||
if (this.contDiv.hasClass('egw_fw_sidebar_toggleOn'))
|
if (this.contDiv.hasClass('egw_fw_sidebar_toggleOn'))
|
||||||
{
|
{
|
||||||
this.contDiv.removeClass('egw_fw_sidebar_toggleOn');
|
this.contDiv.removeClass('egw_fw_sidebar_toggleOn');
|
||||||
_callbackContext.splitterUi.set_disable(false);
|
var splitter = _callbackContext.splitterUi;
|
||||||
|
splitter.set_disable(false);
|
||||||
this.toggleCallback.call(_callbackContext,'off');
|
this.toggleCallback.call(_callbackContext,'off');
|
||||||
|
window.setTimeout(function() {
|
||||||
|
$j(window).resize();
|
||||||
|
},500);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user