forked from extern/egroupware
Avoid getting exceptions when user has no access to status app but getting notified by broadcast message
This commit is contained in:
parent
4205118f8d
commit
ccbacd9b5f
@ -507,6 +507,18 @@
|
||||
app[apps[i]].onLogout.call(e);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* This method only used for status app when it tries to broadcast data to users
|
||||
* avoiding throwing exceptions for users whom might have no status app access
|
||||
*
|
||||
* @param {type} _data
|
||||
* @returns {undefined}
|
||||
*/
|
||||
execPushBroadcastAppStatus: function(_data)
|
||||
{
|
||||
if (app.status) app.status.mergeContent(_data);
|
||||
}
|
||||
});
|
||||
})(window);
|
||||
|
Loading…
Reference in New Issue
Block a user