mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
fixing the fix: using private var to store config
This commit is contained in:
parent
4cc93e8ead
commit
5ec887d70d
@ -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;
|
||||
}
|
||||
};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user