mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
Avoid error if title_queue is not defined yet
This commit is contained in:
parent
b48192de3f
commit
ec8c22c93b
@ -447,7 +447,9 @@ egw.extend('links', egw.MODULE_GLOBAL, function()
|
||||
// cache locally
|
||||
title_cache[app][id] = title;
|
||||
// call callbacks waiting for title of app/id
|
||||
if(typeof title_queue[app][id] != "undefined")
|
||||
if(typeof title_queue[app] != 'undefined' &&
|
||||
typeof title_queue[app][id] != "undefined"
|
||||
)
|
||||
{
|
||||
for(var i=0; i < title_queue[app][id].length; ++i)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user