mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 18:36:35 +08:00
fix inability to save posts when navigated away,
oh my ... what a mess, there must be a better way
This commit is contained in:
parent
af467a1675
commit
ee286cc270
|
@ -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]);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user