Added a directive to focus the first input fields

This commit is contained in:
Matias Pando 2014-11-19 17:49:45 -03:00
commit 527c3beab1
6 changed files with 27 additions and 18 deletions

View file

@ -25,7 +25,7 @@
<div class="pr">
<input id="connectionId" type="text" class="columns" placeholder="{{'Paste wallet secret here'|translate}}" name="connectionId" ng-model="connectionId" wallet-secret required>
<input id="connectionId" type="text" class="columns" placeholder="{{'Paste wallet secret here'|translate}}" name="connectionId" ng-model="connectionId" wallet-secret required auto-focus>
<div ng-hide="showScanner || disableScanner">
<a class="postfix button black" ng-click="openScanner()"><i class="fi-camera">&nbsp;</i></a>
</div>