forked from extern/egroupware
Check that getApplicationByName() got something before using it, avoids hidden error loading sideboxes for apps with no tab
This commit is contained in:
parent
b9f502c10c
commit
424121032f
@ -351,7 +351,7 @@
|
||||
|
||||
if (typeof _app == 'string') _app = this.getApplicationByName(_app);
|
||||
//Set the sidebox width if a application specific sidebox width is set
|
||||
if (_app == _app.parentFw.activeApp && _app.sideboxWidth !== false )
|
||||
if (_app && _app == _app.parentFw.activeApp && _app.sideboxWidth !== false )
|
||||
{
|
||||
this.splitterUi.constraints[0].size = _app.sideboxWidth;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user