Merge pull request #173 from dbarros/saved_preferences
Clear 'Saved' message when clicking Save button in user preferences.
This commit is contained in:
commit
9ca0615d94
|
@ -42,6 +42,7 @@ Discourse.PreferencesController = Ember.ObjectController.extend Discourse.Presen
|
||||||
|
|
||||||
save: ->
|
save: ->
|
||||||
@set('saving', true)
|
@set('saving', true)
|
||||||
|
@set('saved', false)
|
||||||
|
|
||||||
# Cook the bio for preview
|
# Cook the bio for preview
|
||||||
@get('content').save (result) =>
|
@get('content').save (result) =>
|
||||||
|
|
Loading…
Reference in New Issue