mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Make sure that _links is not undefined
This commit is contained in:
parent
324a599ae2
commit
a7ecc60a5e
@ -84,14 +84,17 @@ app.classes.infolog = AppJS.extend(
|
|||||||
*/
|
*/
|
||||||
observer: function(_msg, _app, _id, _type, _msg_type, _links)
|
observer: function(_msg, _app, _id, _type, _msg_type, _links)
|
||||||
{
|
{
|
||||||
if (typeof _links['infolog'] != 'undefined')
|
if (typeof _links != 'undefined')
|
||||||
{
|
{
|
||||||
switch (_app)
|
if (typeof _links.infolog != 'undefined')
|
||||||
{
|
{
|
||||||
case 'timesheet':
|
switch (_app)
|
||||||
var nm = this.et2 ? this.et2.getWidgetById('nm') : null;
|
{
|
||||||
if (nm) nm.applyFilters();
|
case 'timesheet':
|
||||||
break;
|
var nm = this.et2 ? this.et2.getWidgetById('nm') : null;
|
||||||
|
if (nm) nm.applyFilters();
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user