diff --git a/dump.rdb b/dump.rdb new file mode 100644 index 0000000000..9cd60ca681 Binary files /dev/null and b/dump.rdb differ diff --git a/web/src/stream_edit.js b/web/src/stream_edit.js index 23c9751848..f7c1e44248 100644 --- a/web/src/stream_edit.js +++ b/web/src/stream_edit.js @@ -304,13 +304,13 @@ function stream_notification_reset(e) { stream_settings_api.bulk_set_stream_property( data, - $(`#stream_change_property_status${CSS.escape(sub.stream_id)}`), + $(e.target).closest(".subsection-parent").find(".alert-notification"), ); } function stream_setting_changed(e) { const sub = get_sub_for_target(e.target); - const $status_element = $(`#stream_change_property_status${CSS.escape(sub.stream_id)}`); + const $status_element = $(e.target).closest(".subsection-parent").find(".alert-notification"); const setting = e.target.name; if (!sub) { blueslip.error("undefined sub in stream_setting_changed()"); diff --git a/web/templates/stream_settings/stream_settings.hbs b/web/templates/stream_settings/stream_settings.hbs index 2825dd56c5..4da74cddb9 100644 --- a/web/templates/stream_settings/stream_settings.hbs +++ b/web/templates/stream_settings/stream_settings.hbs @@ -95,11 +95,11 @@
-
-

{{t "Personal settings" }}

-
-
+
+

{{t "Personal settings" }}

+
+
{{#each other_settings}}
{{> stream_settings_checkbox @@ -120,9 +120,12 @@
-

{{t "Notification settings" }}

-

{{t "In muted streams, stream notification settings apply only to unmuted topics." }}

+
+

{{t "Notification settings" }}

+
+

{{t "In muted streams, stream notification settings apply only to unmuted topics." }}

+