Fixed account preference saving
Saving preferences was still invoking an old method removed since the unification of the backend
This commit is contained in:
parent
6642b868f7
commit
fac609cf15
@ -179,7 +179,8 @@ Clipperz.PM.DataModel.UserPreferences.prototype = MochiKit.Base.update(null, {
|
||||
return {user:res};
|
||||
})
|
||||
deferredResult.addCallback(Clipperz.NotificationCenter.deferredNotification, this, 'updatedProgressState', 'account_savingPreferences_2');
|
||||
deferredResult.addCallback(MochiKit.Base.method(this.user().connection(), 'message'), 'updateData');
|
||||
// deferredResult.addCallback(MochiKit.Base.method(this.user().connection(), 'message'), 'updateData');
|
||||
deferredResult.addCallback(MochiKit.Base.method(this.user().connection(), 'message'), 'saveChanges');
|
||||
deferredResult.addCallback(Clipperz.PM.Components.MessageBox().hide, YAHOO.ext.Element.get('main'));
|
||||
deferredResult.addCallback(Clipperz.NotificationCenter.deferredNotification, this, 'updatedPreferences', null);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user