This commit is contained in:
Ralf Becker 2014-10-01 10:37:30 +00:00
parent 6be491d6eb
commit d736d6cb4a

View File

@ -357,7 +357,7 @@ egw.extend('debug', egw.MODULE_GLOBAL, function(_app, _wnd) {
} }
} }
// raise errors to user, if LOCAL_LOG_LEVEL > 0 // raise errors to user, if LOCAL_LOG_LEVEL > 0
if (LOCAL_LOG_LEVEL_level == "error") raise_error(args); if (LOCAL_LOG_LEVEL && _level == "error") raise_error(args);
// log to html5 localStorage // log to html5 localStorage
if (typeof stack != 'undefined') args.pop(); // remove stacktrace again if (typeof stack != 'undefined') args.pop(); // remove stacktrace again