From 5ec887d70dea2bca572b50370d3cde74a8a8ada2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 10 Jan 2014 08:12:59 +0000 Subject: [PATCH] fixing the fix: using private var to store config --- phpgwapi/js/jsapi/egw_config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpgwapi/js/jsapi/egw_config.js b/phpgwapi/js/jsapi/egw_config.js index 0a64a9691b..89cd0dd36c 100644 --- a/phpgwapi/js/jsapi/egw_config.js +++ b/phpgwapi/js/jsapi/egw_config.js @@ -37,9 +37,9 @@ egw.extend('config', egw.MODULE_GLOBAL, function() { { if (typeof _app == 'undefined') _app = 'phpgwapi'; - if (typeof this.configs == 'undefined' || typeof this.configs[_app] == 'undefined') return null; + if (typeof configs[_app] == 'undefined') return null; - return this.configs[_app][_name]; + return configs[_app][_name]; }, /** @@ -49,7 +49,7 @@ egw.extend('config', egw.MODULE_GLOBAL, function() { */ set_configs: function(_configs) { - this.configs = _configs; + configs = _configs; } }; });