mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
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 (composerModel.get('composeState') === Discourse.Composer.OPEN &&
|
||||
composerModel.get('draftKey') === opts.draftKey) {
|
||||
composerModel.get('draftKey') === opts.draftKey &&
|
||||
composerModel.action === opts.action) {
|
||||
return resolve();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user