mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
Fix "saving" message not dismissing when editing posts.
This commit is contained in:
parent
1d2dceda32
commit
881986636c
@ -479,7 +479,7 @@ export default Ember.Controller.extend({
|
||||
}
|
||||
|
||||
// If user "created a new topic/post" or "replied as a new topic" successfully, remove the draft.
|
||||
if (result.responseJson.action === "create_post" || self.get('replyAsNewTopicDraft') || self.get('replyAsNewPrivateMessageDraft')) {
|
||||
if (result.responseJson.action === "create_post" || this.get('replyAsNewTopicDraft') || this.get('replyAsNewPrivateMessageDraft')) {
|
||||
this.destroyDraft();
|
||||
}
|
||||
if (this.get('model.action') === 'edit') {
|
||||
|
Loading…
Reference in New Issue
Block a user