FIX: Allow user to abandon reply when clicking edit.
This commit is contained in:
parent
94a130a4e4
commit
a45d6936f2
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue