mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-29 00:00:33 -04:00
FIX: Allow user to abandon reply when clicking edit.
This commit is contained in:
parent
94a130a4e4
commit
a45d6936f2
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue