Skip to content

Commit

Permalink
resolve #878 by not disabling the PIN input box and login button.
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Mar 22, 2017
1 parent ff67e0b commit 6542660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/settings/trakt-import.html
Expand Up @@ -17,7 +17,7 @@
</tr>
<tr class="password" ng-if="!trakt.credentials.success">
<td>
<input type='password' style="width: 100%" ng-model='trakt.credentials.pincode' placeholder="Trakt.TV PIN" ng-disabled="!trakt.credentials.getpin" ng-keyup="$event.keyCode == 13 && trakt.onLoginEnter()" />
<input type='password' style="width: 100%" ng-model='trakt.credentials.pincode' placeholder="Trakt.TV PIN" ng-keyup="$event.keyCode == 13 && trakt.onLoginEnter()" />
</td>
</tr>
<tr class="button">
Expand All @@ -26,7 +26,7 @@
<strong>TraktTV <span translate-once>SETTINGS/TRAKT-IMPORT/authorized/alert</span></strong>
Token: {{trakt.credentials.success}}
</p>
<a ng-click="trakt.authorize(trakt.credentials.pincode)" class="btn btn-success" style="position:relative" ng-disabled="!trakt.credentials.getpin" ng-hide="trakt.credentials.success">
<a ng-click="trakt.authorize(trakt.credentials.pincode)" class="btn btn-success" style="position:relative" ng-hide="trakt.credentials.success">
<i class="glyphicon glyphicon-log-in" style="float:left;top:3px"></i><span translate-once>SETTINGS/TRAKT-IMPORT/login-to/btn</span><span>Trakt.TV</span>
<loading-spinner ng-show="trakt.credentials.authorizing" style="width:20px;height:20px;position:absolute;right:5px"></loading-spinner>
</a>
Expand Down

0 comments on commit 6542660

Please sign in to comment.