From 08cb4581ee2f6771a9d26d225e418c813cd5f0ae Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 4 Apr 2012 19:17:07 +0000 Subject: [PATCH] egw_open wants the whole registry --- phpgwapi/js/jsapi/egw_links.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phpgwapi/js/jsapi/egw_links.js b/phpgwapi/js/jsapi/egw_links.js index 3360c2a0d7..7d4994dd7a 100644 --- a/phpgwapi/js/jsapi/egw_links.js +++ b/phpgwapi/js/jsapi/egw_links.js @@ -89,6 +89,11 @@ egw.extend('links', egw.MODULE_GLOBAL, function() { break; } } + if (reg && typeof _name == 'undefined') + { + // No key requested, return the whole thing + return reg; + } return typeof reg[_name] == 'undefined' ? false : reg[_name]; },