From 5f3b572cc9dc2956e2cbd92a769e3215e1ec39cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=B6ckel?= Date: Mon, 5 Mar 2012 16:05:48 +0000 Subject: [PATCH] Changed hash function for egw api instances --- phpgwapi/js/jsapi/egw_core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jsapi/egw_core.js b/phpgwapi/js/jsapi/egw_core.js index 0ecdd434e3..f120f0765a 100644 --- a/phpgwapi/js/jsapi/egw_core.js +++ b/phpgwapi/js/jsapi/egw_core.js @@ -87,7 +87,7 @@ var egw; function getEgwInstance(_egw, _modules, _instances, _app, _window) { // Generate the hash key for the instance descriptor object - var hash = _window ? _app + "_" + _window.location : _app; + var hash = _app ? _app : '[global]'; // Let "_window" be exactly null, if it evaluates to false _window = _window ? _window : null;