From 69779688f02965f8dacd81c729600e4e4fccfc4f Mon Sep 17 00:00:00 2001 From: Hardik Dharmani Date: Fri, 28 Apr 2023 14:56:56 +0530 Subject: [PATCH] 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. --- web/src/settings_account.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/settings_account.js b/web/src/settings_account.js index 6cea4bce6d..94ebce745e 100644 --- a/web/src/settings_account.js +++ b/web/src/settings_account.js @@ -735,6 +735,7 @@ export function set_up() { on_shown() { ui_util.place_caret_at_end($("#change_email_form input")[0]); }, + update_submit_disabled_state_on_change: true, }); } });