zulip/static
Sean Heckathorne 6728ee1f0e compose: Clear preview UI when recipient change clears compose box.
Previously, we cleared the preview element only when cancelling
compose, which meant the compose box would be left in an invalid
state, showing a preview from a no longer active draft, if switching
recipients with it open.

Fix this by moving the call to clear the preview state to clear_box,
which is called in both the hide_box (close compose) and change
recipient code paths for clearing compose after not having sent a
message.

Fixes #22703.
2022-08-25 16:07:44 -07:00
..
assets assets: Remove license for previously deleted emoji images. 2022-06-10 12:27:48 -07:00
audio/notification_sounds audio: Remove the copy of zulip.ogg outside notification_sounds. 2022-06-10 12:27:48 -07:00
generated
html templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
images help: Add info icon to mobile stream settings macro. 2022-08-25 11:05:07 -07:00
js compose: Clear preview UI when recipient change clears compose box. 2022-08-25 16:07:44 -07:00
shared read_receipts: Add support for displaying read receipts. 2022-08-12 13:16:35 -07:00
styles digest: Add header above plain text view of digest. 2022-08-25 16:00:43 -07:00
templates user groups: Set up right panel for user group edit. 2022-08-23 17:40:02 -07:00
third css: Remove Bootstrap legend CSS. 2022-08-13 17:36:08 -07:00
.gitignore docs: Add missing space in “time zone”. 2022-02-24 14:05:12 -08:00