From 67e6965b1f1e4e4079f1c33b691cac78a0c52954 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 22 Feb 2016 15:48:19 +0000 Subject: [PATCH] fix javascript error when getState called by et2_ready from tutorials, caused by content.data.nm does not exist for tutorials --- infolog/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/js/app.js b/infolog/js/app.js index 9bbbafa18a..94a254460c 100644 --- a/infolog/js/app.js +++ b/infolog/js/app.js @@ -161,7 +161,7 @@ app.classes.infolog = AppJS.extend( if(et2) { 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;