Skip to content

Commit 94e4cf6

Browse files
committed
run on change too
1 parent fe49735 commit 94e4cf6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

OpenFlow/src/public/Login.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h5 class="card-title text-center"><span translate lib="web">signin</span> {{ctr
1111
<form class="form-signin" ngNoForm method='post' action='/local'>
1212
<div class="form-label-group" ng-show="ctrl.localenabled">
1313
<input type="text" name="username" ng-model="ctrl.username" class="form-control" placeholder="email"
14-
required autofocus autocomplete='off' ng-blur="ctrl.usernameblur()">
14+
required autofocus autocomplete='off' ng-change="ctrl.usernameblur()" ng-blur="ctrl.usernameblur()">
1515
<label for="username" translate lib="web">email</label>
1616
</div>
1717
<div class="form-label-group" ng-show="ctrl.localenabled" id="password">

OpenFlow/src/public/PassiveLogin.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ <h5 class="card-title text-center"><span translate lib="web">signin</span> {{ctr
386386
<form class="form-signin" ngNoForm method='post' action='/local' ng-show="ctrl.stage == 0">
387387
<div class="form-label-group" ng-show="ctrl.localenabled">
388388
<input type="text" name="username" id="username" ng-model="ctrl.username" class="form-control" placeholder="email"
389-
required autofocus autocomplete='off' ng-blur="ctrl.usernameblur()">
389+
required autofocus autocomplete='off' ng-change="ctrl.usernameblur()" ng-blur="ctrl.usernameblur()">
390390
<label for="username" translate lib="web">email</label>
391391
</div>
392392
<div class="form-label-group" ng-show="ctrl.localenabled" id="password">

0 commit comments

Comments
 (0)