From 6a1b0e846dde749612eda5f11ef420ae74116eb3 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 17 Feb 2014 14:53:53 +0000 Subject: [PATCH] fix javascript error if data not available --- etemplate/js/et2_core_arrayMgr.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_core_arrayMgr.js b/etemplate/js/et2_core_arrayMgr.js index 263162fabb..9bb14893da 100644 --- a/etemplate/js/et2_core_arrayMgr.js +++ b/etemplate/js/et2_core_arrayMgr.js @@ -271,7 +271,9 @@ var et2_arrayMgr = Class.extend( } catch(e) { - egw.debug("error", typeof e == 'object' ? e.message : e); + // only log error, as they are no real errors but missing data + egw.debug("log", typeof e == 'object' ? e.message : e); + _ident = null; } } }