mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Make sure portlet settings are there before checking them
This commit is contained in:
parent
5fabb70f38
commit
2c7814b39c
@ -824,7 +824,7 @@ app.classes.home.home_link_portlet = app.classes.home.home_portlet.extend({
|
|||||||
},
|
},
|
||||||
observer: function(_msg, _app, _id, _type)
|
observer: function(_msg, _app, _id, _type)
|
||||||
{
|
{
|
||||||
if(this.portlet)
|
if(this.portlet && this.portlet.settings)
|
||||||
{
|
{
|
||||||
var value = this.portlet.settings.entry || {};
|
var value = this.portlet.settings.entry || {};
|
||||||
if(value.app && value.app == _app && value.id && value.id == _id)
|
if(value.app && value.app == _app && value.id && value.id == _id)
|
||||||
|
Loading…
Reference in New Issue
Block a user