From 17b8bfcc950a4d2945c5ad2616ba5e958741a2f3 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 12 Feb 2014 16:36:51 +0000 Subject: [PATCH] fixed javascript error "max is undefined" --- 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 bc77b73a95..377ea8c6ed 100644 --- a/phpgwapi/js/jsapi/egw_debug.js +++ b/phpgwapi/js/jsapi/egw_debug.js @@ -195,7 +195,7 @@ egw.extend('debug', egw.MODULE_GLOBAL, function(_app, _wnd) { if (!window.localStorage) return false; - max = MAX_LOGS; + var max = MAX_LOGS; // check if we have more log entries then allowed, happens if MAX_LOGS get changed in code if (window.localStorage[LASTLOG] > MAX_LOGS) {