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]; },