mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 04:52:45 +08:00
FIX: do not destroy current draft when *NOT* abandoning the current reply
This commit is contained in:
parent
2db3cfb16b
commit
6b618a805a
|
@ -340,8 +340,8 @@ Discourse.ComposerController = Discourse.Controller.extend({
|
|||
self.destroyDraft();
|
||||
self.get('model').clearState();
|
||||
self.close();
|
||||
promise.resolve();
|
||||
}
|
||||
promise.resolve();
|
||||
});
|
||||
} else {
|
||||
// it is possible there is some sort of crazy draft with no body ... just give up on it
|
||||
|
|
Loading…
Reference in New Issue
Block a user