Skip to content

Commit

Permalink
Announce loading message on password reset btn click
Browse files Browse the repository at this point in the history
  • Loading branch information
Lupe Camacho authored and Lupe Camacho committed Aug 23, 2024
1 parent 0560426 commit 19e0fc4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/cp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/cp.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/web/assets/cp/src/js/LoginForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ Craft.LoginForm.ResetPasswordForm = Garnish.Base.extend({

this.loginForm.clearErrors();
this.$submitBtn.addClass('loading');
Craft.cp.announce(Craft.t('app', 'Loading'));

const data = {
loginName: this.$usernameInput.val(),
Expand Down

0 comments on commit 19e0fc4

Please sign in to comment.