FIX: Allow user to abandon reply when clicking edit.

This commit is contained in:
Guo Xiang Tan 2015-08-13 16:25:49 +08:00
parent 94a130a4e4
commit a45d6936f2
1 changed files with 2 additions and 1 deletions

View File

@ -396,7 +396,8 @@ export default Ember.ObjectController.extend(Presence, {
// If we're already open, we don't have to do anything
if (composerModel.get('composeState') === Discourse.Composer.OPEN &&
composerModel.get('draftKey') === opts.draftKey) {
composerModel.get('draftKey') === opts.draftKey &&
composerModel.get('action') === opts.action ) {
return resolve();
}