FIX: hitting edit while replying does nothing
This commit is contained in:
parent
54281d5944
commit
6391dc7f28
|
@ -316,7 +316,8 @@ export default DiscourseController.extend({
|
||||||
|
|
||||||
// If we're already open, we don't have to do anything
|
// If we're already open, we don't have to do anything
|
||||||
if (composerModel.get('composeState') === Discourse.Composer.OPEN &&
|
if (composerModel.get('composeState') === Discourse.Composer.OPEN &&
|
||||||
composerModel.get('draftKey') === opts.draftKey) {
|
composerModel.get('draftKey') === opts.draftKey &&
|
||||||
|
composerModel.action === opts.action) {
|
||||||
return resolve();
|
return resolve();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue