FIX: Switching composer action shouldn't trigger abandon popup (#7261)

This commit is contained in:
Tim Lange
2019-03-27 21:55:09 +01:00
committed by Régis Hanol
parent 074a9be6a9
commit 1b0267b077
2 changed files with 43 additions and 0 deletions

View File

@ -230,12 +230,14 @@ export default DropdownSelectBoxComponent.extend({
replyToTopicSelected(options) {
options.action = REPLY;
options.topic = _topicSnapshot;
options.skipDraftCheck = true;
this._openComposer(options);
},
replyToPostSelected(options) {
options.action = REPLY;
options.post = _postSnapshot;
options.skipDraftCheck = true;
this._openComposer(options);
},