1
0
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:
Tankred Hase 2013-11-04 15:56:27 +01:00
parent 24f97db09e
commit 7e2c9adbca
2 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -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>