mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +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)
|
set_preference: function(_app, _name, _val)
|
||||||
{
|
{
|
||||||
// TODO: Queue
|
this.jsonq('home.egw_framework.ajax_set_preference.template',[_app, _name, _val]);
|
||||||
xajax_doXMLHTTP('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!)
|
// 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;
|
if (typeof prefs[_app] != 'undefined') prefs[_app][_name] = _val;
|
||||||
|
Loading…
Reference in New Issue
Block a user