FIX: hitting edit while replying does nothing

This commit is contained in:
Sam 2014-10-06 10:51:02 +11:00
parent 54281d5944
commit 6391dc7f28
1 changed files with 2 additions and 1 deletions

View File

@ -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();
} }