forked from extern/egroupware
Fix infolog error: content is undefined
This commit is contained in:
parent
6c3ff9b792
commit
b582716dff
@ -167,8 +167,13 @@ app.classes.infolog = AppJS.extend(
|
||||
{
|
||||
// call parent
|
||||
var state = this._super.apply(this, arguments);
|
||||
|
||||
var nm = this.et2 ? this.et2.getArrayMgr('content').data.nm : {};
|
||||
var nm = {};
|
||||
if(this.et2)
|
||||
{
|
||||
var content = this.et2.getArrayMgr('content');
|
||||
nm = content? content.data.nm: {};
|
||||
}
|
||||
|
||||
state.action = nm.action || null;
|
||||
state.action_id = nm.action_id || null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user