mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
compose: Update compose placeholder text if stream name is changed.
Compose box placeholder text for streams currently updates when focus is shifted to the text area. With this change, it will also get updated when the stream name is changed (it already updates if topic names are changed).
This commit is contained in:
@@ -1226,6 +1226,10 @@ exports.initialize = function () {
|
||||
compose_actions.update_placeholder_text();
|
||||
});
|
||||
|
||||
$("#stream_message_recipient_topic").on("focus", () => {
|
||||
compose_actions.update_placeholder_text();
|
||||
});
|
||||
|
||||
if (page_params.narrow !== undefined) {
|
||||
if (page_params.narrow_topic !== undefined) {
|
||||
compose_actions.start("stream", {topic: page_params.narrow_topic});
|
||||
|
||||
Reference in New Issue
Block a user