From bf890cf91aa2cee60f36c5e40ffccc675876c38f Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 15 Mar 2022 17:27:00 -0700 Subject: [PATCH] compose: Fix resolved topic warning after send. Previously, we did not clear the resolved topic warning when reopening the compose box after sending a emssage. This was a latent bug before the previous commit, since the resolve topic was always displayed when the compose box was pointed at a resolved topic before the previous commit. --- static/js/compose.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/compose.js b/static/js/compose.js index a94fb6af47..e9965b9e78 100644 --- a/static/js/compose.js +++ b/static/js/compose.js @@ -185,6 +185,7 @@ export function clear_compose_box() { } $("#compose-textarea").val("").trigger("focus"); compose_validate.check_overflow_text(); + compose_validate.clear_topic_resolved_warning(); $("#compose-textarea").removeData("draft-id"); compose_ui.autosize_textarea($("#compose-textarea")); $("#compose-send-status").hide(0);