Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

stream_popover: Remove remnants select_stream_widget.

Aman Agrawal1b8605a6e6c9
diff --git a/web/src/stream_popover.js b/web/src/stream_popover.js
index 5d6c152cac7..85e66f47ed6 100644
--- a/web/src/stream_popover.js
+++ b/web/src/stream_popover.js
@@ -565,16 +565,14 @@ export async function build_move_topic_to_stream_popover(
}).setup();
render_selected_stream();
- $("#select_stream_widget .dropdown-toggle").prop("disabled", disable_stream_input);
+ $("#move_topic_to_stream_widget").prop("disabled", disable_stream_input);
$("#move_topic_modal .move_messages_edit_topic").on("input", () => {
update_submit_button_disabled_state(stream_widget_value);
});
}
function focus_on_move_modal_render() {
- if (!disable_stream_input && args.disable_topic_input) {
- $("#select_stream_widget .button").trigger("focus");
- } else {
+ if (!args.disable_topic_input) {
ui_util.place_caret_at_end($(".move_messages_edit_topic")[0]);
}
}
diff --git a/web/styles/modal.css b/web/styles/modal.css
index 03074daebc5..aaa90a1a7df 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -264,12 +264,6 @@
}
}
-#select_stream_widget {
- .dropdown-toggle:disabled {
- pointer-events: none;
- }
-}
-
@keyframes mmfadeIn {
from {
opacity: 0;