mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 03:48:55 +01:00
fix javascript error when getState called by et2_ready from tutorials, caused by content.data.nm does not exist for tutorials
This commit is contained in:
parent
9627e5dd8d
commit
67e6965b1f
@ -161,7 +161,7 @@ app.classes.infolog = AppJS.extend(
|
|||||||
if(et2)
|
if(et2)
|
||||||
{
|
{
|
||||||
var content = this.et2.getArrayMgr('content');
|
var content = this.et2.getArrayMgr('content');
|
||||||
nm = content? content.data.nm: {};
|
nm = content && content.data && content.data.nm ? content.data.nm: {};
|
||||||
}
|
}
|
||||||
|
|
||||||
state.action = nm.action || null;
|
state.action = nm.action || null;
|
||||||
|
Loading…
Reference in New Issue
Block a user