fix inability to save posts when navigated away,

oh my ... what a mess, there must be a better way
This commit is contained in:
Sam 2013-10-02 16:18:16 +10:00
parent af467a1675
commit ee286cc270

View File

@ -109,7 +109,7 @@ Discourse.ComposerController = Discourse.Controller.extend({
"label": I18n.t("composer.reply_original") + "<br/><div class='topic-title overflow-ellipsis'>" + this.get('model.topic.title') + "</div>",
"class": "btn-primary btn-reply-on-original",
"callback": function(){
composerController.save(true);
composerController._actions.save.apply(composerController, [true]);
}
});