Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 24ee23a

Browse files
author
vikasrohit
committed
Merge pull request #586 from appirio-tech/feature/sup-1262-show-hide-password-bheavior
SUP-1262, Clicking the hide/show password button should work on mobile Merging to test the changes on iphone
2 parents d0e9eb9 + 5639756 commit 24ee23a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

app/directives/account/toggle-password/toggle-password.directive.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
if (relatedTarget.attr('type') === 'checkbox' && relatedTarget.attr('id') === 'currentPasswordCheckbox') {
4141
vm.currentPasswordFocus = true;
4242
vm.currentPasswordPlaceholder = '';
43+
currentPasswordInput.focus();
4344
} else {
4445
// If you are blurring from the password input and clicking anywhere but the checkbox
4546
vm.currentPasswordFocus = false;

app/directives/account/toggle-password/toggle-password.jade

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ input#current-password-input(
22
ng-model="vm.currentPassword",
33
ng-model-options="{allowInvalid: true}",
44

5-
focus-on="focusOnCurrentPasswordInput",
65
ng-focus="vm.onCPFocus($event)",
76
ng-blur="vm.onCPBlur($event)",
87

0 commit comments

Comments
 (0)