From 420614d50db8fae6a69e3b70d66c8123ee96aed9 Mon Sep 17 00:00:00 2001 From: Diego Barros Date: Sat, 16 Feb 2013 19:29:05 +1100 Subject: [PATCH] Clear 'Saved' message when clicking Save button in user preferences. --- .../discourse/controllers/preferences_controller.js.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/discourse/controllers/preferences_controller.js.coffee b/app/assets/javascripts/discourse/controllers/preferences_controller.js.coffee index 1c8264a2d..8eda0321b 100644 --- a/app/assets/javascripts/discourse/controllers/preferences_controller.js.coffee +++ b/app/assets/javascripts/discourse/controllers/preferences_controller.js.coffee @@ -42,6 +42,7 @@ Discourse.PreferencesController = Ember.ObjectController.extend Discourse.Presen save: -> @set('saving', true) + @set('saved', false) # Cook the bio for preview @get('content').save (result) =>