diff --git a/app/assets/javascripts/discourse/models/composer.js.es6 b/app/assets/javascripts/discourse/models/composer.js.es6 index 45993627c2f..230cbffecf8 100644 --- a/app/assets/javascripts/discourse/models/composer.js.es6 +++ b/app/assets/javascripts/discourse/models/composer.js.es6 @@ -686,6 +686,8 @@ const Composer = RestModel.extend({ originalText: post.get("raw"), loading: false }); + + composer.appEvents.trigger("composer:reply-reloaded", composer); }); } else if (opts.action === REPLY && opts.quote) { this.setProperties({ @@ -701,6 +703,10 @@ const Composer = RestModel.extend({ this.set("originalTitle", this.get("title")); } + if (!isEdit(opts.action) || !opts.post) { + composer.appEvents.trigger("composer:reply-reloaded", composer); + } + return false; },