mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Fix js error causes stop execution for apps with no favorites
This commit is contained in:
parent
3c7650aaab
commit
92724b727d
@ -387,7 +387,7 @@ window.fw_base = (function(){ "use strict"; return Class.extend(
|
||||
_app.sidemenuEntry.parent.open(_app.sidemenuEntry);
|
||||
|
||||
// reliable init sidebox, as app.js might initialise earlier
|
||||
if (typeof app[_app.appName] == 'object')
|
||||
if (typeof app[_app.appName] == 'object' && jQuery('#favorite_sidebox_'+_app.appName, this.sidemenuDiv).length)
|
||||
{
|
||||
var sidebox = jQuery('#favorite_sidebox_'+_app.appName, this.sidemenuDiv).getElementsByTagName('ul')[0];
|
||||
var self = this;
|
||||
|
Loading…
Reference in New Issue
Block a user