From fac609cf1507ae82e7069b21724e089a9ac93869 Mon Sep 17 00:00:00 2001 From: Clipperz Date: Thu, 10 Jan 2013 08:37:28 +0000 Subject: Fixed account preference saving Saving preferences was still invoking an old method removed since the unification of the backend --- (limited to 'frontend') diff --git a/frontend/beta/js/Clipperz/PM/DataModel/UserPreferences.js b/frontend/beta/js/Clipperz/PM/DataModel/UserPreferences.js index 9e80b3a..919289d 100644 --- a/frontend/beta/js/Clipperz/PM/DataModel/UserPreferences.js +++ b/frontend/beta/js/Clipperz/PM/DataModel/UserPreferences.js @@ -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); -- cgit v0.9.0.2