mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix sidebar toggle sometimes flickers in close states in FF
This commit is contained in:
parent
30bdfb59a0
commit
980a5537d9
@ -264,7 +264,9 @@
|
|||||||
if (_app == _app.parentFw.activeApp)
|
if (_app == _app.parentFw.activeApp)
|
||||||
{
|
{
|
||||||
//Set the sidebox width if a application specific sidebox width is set
|
//Set the sidebox width if a application specific sidebox width is set
|
||||||
if (_app.sideboxWidth !== false)
|
// do not trigger resize if the sidebar is already in toggle on mode and
|
||||||
|
// the next set state is the same
|
||||||
|
if (_app.sideboxWidth !== false && egw.preference('toggleSidebar',_app.appName) == 'off')
|
||||||
{
|
{
|
||||||
this.sideboxSizeCallback(_app.sideboxWidth);
|
this.sideboxSizeCallback(_app.sideboxWidth);
|
||||||
this.splitterUi.constraints[0].size = _app.sideboxWidth;
|
this.splitterUi.constraints[0].size = _app.sideboxWidth;
|
||||||
|
Loading…
Reference in New Issue
Block a user