From 8834d86818542e4081e2dc75f4198426f0172152 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 10 Apr 2013 14:14:06 +0000 Subject: [PATCH] Give a trace on all logs if debug level is 5 to help track things down --- phpgwapi/js/jsapi/egw_debug.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jsapi/egw_debug.js b/phpgwapi/js/jsapi/egw_debug.js index 1b85952e76..7009cf82b3 100644 --- a/phpgwapi/js/jsapi/egw_debug.js +++ b/phpgwapi/js/jsapi/egw_debug.js @@ -42,7 +42,7 @@ egw.extend('debug', egw.MODULE_GLOBAL, function(_app, _wnd) { } // Add in a trace - if (DEBUGLEVEL >= 5 && (_level == "warn" || _level == "error") && typeof (new Error).stack != "undefined") + if (DEBUGLEVEL >= 5 && typeof (new Error).stack != "undefined") { var stack = (new Error).stack; args.push(stack);