mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Implement queue when setting preferences
This commit is contained in:
parent
936c375a2d
commit
3300e82b27
@ -88,8 +88,7 @@ egw.extend('preferences', egw.MODULE_GLOBAL, function() {
|
||||
*/
|
||||
set_preference: function(_app, _name, _val)
|
||||
{
|
||||
// TODO: Queue
|
||||
xajax_doXMLHTTP('home.egw_framework.ajax_set_preference.template', _app, _name, _val);
|
||||
this.jsonq('home.egw_framework.ajax_set_preference.template',[_app, _name, _val]);
|
||||
|
||||
// update own preference cache, if _app prefs are loaded (dont update otherwise, as it would block loading of other _app prefs!)
|
||||
if (typeof prefs[_app] != 'undefined') prefs[_app][_name] = _val;
|
||||
|
Loading…
Reference in New Issue
Block a user