mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
Merge egw_jsons - change preferences to use egw.json()
This commit is contained in:
parent
72e5c43a96
commit
467734258c
@ -68,8 +68,8 @@ egw.extend('preferences', egw.MODULE_GLOBAL, function() {
|
||||
|
||||
if (typeof prefs[_app] == 'undefined')
|
||||
{
|
||||
xajax_doXMLHTTPsync('home.egw_framework.ajax_get_preference.template', _app);
|
||||
|
||||
var request = this.json('home.egw_framework.ajax_get_preference.template', [_app],null,null,false);
|
||||
request.sendRequest();
|
||||
if (typeof prefs[_app] == 'undefined') prefs[_app] = {};
|
||||
}
|
||||
if(_name == "*") return prefs[_app];
|
||||
|
Loading…
Reference in New Issue
Block a user