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:
Nathan Gray 2016-02-24 16:16:21 +00:00
parent 0e379eeab4
commit 5b10bde980

View File

@ -1271,8 +1271,12 @@ egw_fw_ui_toggleSidebar.prototype.onToggle = function(_callbackContext)
if (this.contDiv.hasClass('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');
window.setTimeout(function() {
$j(window).resize();
},500);
}
else
{