diff --git a/app/assets/javascripts/discourse/app/models/composer.js b/app/assets/javascripts/discourse/app/models/composer.js index 56e4d1ac806..211e4ca93dd 100644 --- a/app/assets/javascripts/discourse/app/models/composer.js +++ b/app/assets/javascripts/discourse/app/models/composer.js @@ -785,11 +785,14 @@ const Composer = RestModel.extend({ }); } + this.set("originalTitle", ""); + if (opts.title) { this.set("title", opts.title); } this.set("originalText", opts.draft ? "" : this.reply); + if (this.editingFirstPost) { this.set("originalTitle", this.title); }