mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
settings: Disable save btn for invalid values of batching period setting.
We disable the "Save changes" button for invalid values in custom input of realm-level default of email notification batching period setting.
This commit is contained in:
@@ -63,6 +63,14 @@ export function set_up() {
|
||||
);
|
||||
|
||||
maybe_disable_widgets();
|
||||
|
||||
$container.on("input", ".email_notification_batching_period_edit_minutes", (e) => {
|
||||
settings_org.update_save_button_state(e);
|
||||
});
|
||||
|
||||
$container.on("change", ".setting_email_notifications_batching_period_seconds", (e) => {
|
||||
settings_org.update_save_button_state(e);
|
||||
});
|
||||
}
|
||||
|
||||
export function initialize() {
|
||||
|
||||
Reference in New Issue
Block a user