-rw-r--r-- | frontend/beta/js/Clipperz/PM/DataModel/UserPreferences.js | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |||
@@ -178,9 +178,10 @@ Clipperz.PM.DataModel.UserPreferences.prototype = MochiKit.Base.update(null, { | |||
178 | deferredResult.addCallback(function(res) { | 178 | deferredResult.addCallback(function(res) { |
179 | return {user:res}; | 179 | return {user:res}; |
180 | }) | 180 | }) |
181 | deferredResult.addCallback(Clipperz.NotificationCenter.deferredNotification, this, 'updatedProgressState', 'account_savingPreferences_2'); | 181 | deferredResult.addCallback(Clipperz.NotificationCenter.deferredNotification, this, 'updatedProgressState', 'account_savingPreferences_2'); |
182 | deferredResult.addCallback(MochiKit.Base.method(this.user().connection(), 'message'), 'updateData'); | 182 | // deferredResult.addCallback(MochiKit.Base.method(this.user().connection(), 'message'), 'updateData'); |
183 | deferredResult.addCallback(MochiKit.Base.method(this.user().connection(), 'message'), 'saveChanges'); | ||
183 | deferredResult.addCallback(Clipperz.PM.Components.MessageBox().hide, YAHOO.ext.Element.get('main')); | 184 | deferredResult.addCallback(Clipperz.PM.Components.MessageBox().hide, YAHOO.ext.Element.get('main')); |
184 | deferredResult.addCallback(Clipperz.NotificationCenter.deferredNotification, this, 'updatedPreferences', null); | 185 | deferredResult.addCallback(Clipperz.NotificationCenter.deferredNotification, this, 'updatedPreferences', null); |
185 | 186 | ||
186 | deferredResult.callback(); | 187 | deferredResult.callback(); |