mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
compose: Re-open the compose editor after restoring a draft.
Fix #5951.
This commit is contained in:
@@ -143,6 +143,8 @@ exports.restore_draft = function (draft_id) {
|
||||
|
||||
overlays.close_overlay("drafts");
|
||||
compose_fade.clear_compose();
|
||||
compose.clear_preview_area();
|
||||
|
||||
if (draft.type === "stream" && draft.stream === "") {
|
||||
draft_copy.subject = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user