mirror of https://github.com/zulip/zulip.git
settings: Update disabled state of button in email change modal.
The new update_submit_disabled_state_on_change feature of the dialog_widget component makes this simple. Fixes #22683.
This commit is contained in:
parent
96d6fda2a7
commit
69779688f0
|
@ -735,6 +735,7 @@ export function set_up() {
|
||||||
on_shown() {
|
on_shown() {
|
||||||
ui_util.place_caret_at_end($("#change_email_form input")[0]);
|
ui_util.place_caret_at_end($("#change_email_form input")[0]);
|
||||||
},
|
},
|
||||||
|
update_submit_disabled_state_on_change: true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue