mirror of
https://github.com/moparisthebest/mail
synced 2025-01-11 05:28:00 -05:00
[WO-73] remove red border on passphrase change
This commit is contained in:
parent
24f97db09e
commit
7e2c9adbca
@ -9,6 +9,10 @@ define(function(require) {
|
||||
$scope.buttonEnabled = true;
|
||||
$scope.incorrect = false;
|
||||
|
||||
$scope.change = function() {
|
||||
$scope.incorrect = false;
|
||||
};
|
||||
|
||||
$scope.confirmPassphrase = function() {
|
||||
if (!$scope.passphrase) {
|
||||
return;
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
<form>
|
||||
<div>
|
||||
<input type="password" ng-model="passphrase" ng-class="{error:incorrect}" placeholder="Passphrase" tabindex="1" focus-me="true">
|
||||
<input type="password" ng-model="passphrase" ng-change="change()" ng-class="{error:incorrect}" placeholder="Passphrase" tabindex="1" focus-me="true">
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" ng-click="confirmPassphrase()" class="btn" ng-disabled="!buttonEnabled" tabindex="2">Unlock</button>
|
||||
|
Loading…
Reference in New Issue
Block a user