forked from extern/egroupware
Make sure that _links is not undefined
This commit is contained in:
parent
324a599ae2
commit
a7ecc60a5e
@ -84,7 +84,9 @@ app.classes.infolog = AppJS.extend(
|
||||
*/
|
||||
observer: function(_msg, _app, _id, _type, _msg_type, _links)
|
||||
{
|
||||
if (typeof _links['infolog'] != 'undefined')
|
||||
if (typeof _links != 'undefined')
|
||||
{
|
||||
if (typeof _links.infolog != 'undefined')
|
||||
{
|
||||
switch (_app)
|
||||
{
|
||||
@ -94,6 +96,7 @@ app.classes.infolog = AppJS.extend(
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user