mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -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>",
|
"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",
|
"class": "btn-primary btn-reply-on-original",
|
||||||
"callback": function(){
|
"callback": function(){
|
||||||
composerController.save(true);
|
composerController._actions.save.apply(composerController, [true]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue