egw_open wants the whole registry

This commit is contained in:
Nathan Gray 2012-04-04 19:17:07 +00:00
parent 6e103c4c1b
commit 08cb4581ee

View File

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