mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
stream-settings: Show indicator on notification settings.
In the Personal settings stream management panel, when notification settings are changed, Saving/Saved indicator are shown on personal settings heading instead of notification settings heading. Fix this issue by showing indicator on notification settings heading. Fixes: zulip#28728.
This commit is contained in:
committed by
Tim Abbott
parent
ab927cbb2a
commit
f9ba4da012
@@ -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()");
|
||||
|
||||
Reference in New Issue
Block a user