From 093d113677110c3c9ce91a60cac17f29a5d586d9 Mon Sep 17 00:00:00 2001 From: Vit Stanislav Date: Thu, 2 Mar 2017 15:03:04 +0100 Subject: [PATCH 1/3] Fix multiple new passphrase windows bug #16 --- src/app/components/login/login.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/app/components/login/login.js b/src/app/components/login/login.js index e9199bc4e..758c322a1 100644 --- a/src/app/components/login/login.js +++ b/src/app/components/login/login.js @@ -114,11 +114,8 @@ app.component('login', { } if (count >= total) { - this.$timeout(() => { - this.stop() - this.setNew() - }) - + this.stop() + this.setNew() return } } From 6689056fb54bd56dc913fa411050d526398af844 Mon Sep 17 00:00:00 2001 From: Vit Stanislav Date: Thu, 2 Mar 2017 15:04:17 +0100 Subject: [PATCH 2/3] Fix a typo --- src/app/components/transactions/transactions.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/transactions/transactions.jade b/src/app/components/transactions/transactions.jade index c0487faa8..579d3eab8 100644 --- a/src/app/components/transactions/transactions.jade +++ b/src/app/components/transactions/transactions.jade @@ -31,7 +31,7 @@ md-card.offline-hide span.tx(ng-switch-when='4') Multisignature Creation span.tx(ng-switch-when='5') Blockchain Application Registration span.tx(ng-switch-when='6') Transfer Lisk to Blockchain Application - span.tx(ng-switch-when='7') Transfer Lisk from Blockchain Applicatio + span.tx(ng-switch-when='7') Transfer Lisk from Blockchain Application span(ng-switch-default) span(ng-bind='transaction.senderId', ng-if='transaction.senderId !== $ctrl.account.address') span(ng-bind='transaction.recipientId', ng-if='transaction.senderId === $ctrl.account.address') From 48822d9fa43b1e90cbc8100070d6c4ee2527a252 Mon Sep 17 00:00:00 2001 From: Vit Stanislav Date: Thu, 2 Mar 2017 15:07:59 +0100 Subject: [PATCH 3/3] Make login work without mouse autofocus passphrase field submit by enter --- src/app/components/login/login.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/components/login/login.jade b/src/app/components/login/login.jade index bf15ece58..d23faae4c 100644 --- a/src/app/components/login/login.jade +++ b/src/app/components/login/login.jade @@ -3,10 +3,10 @@ md-card md-card-title-text span.md-title Sign In md-card-content - form + form(ng-submit='$ctrl.go()') md-input-container.md-block(md-is-error='$ctrl.valid === 0') label Enter your passphrase - input(type="{{ $ctrl.show_passphrase ? 'text' : 'password' }}", ng-model='$ctrl.input_passphrase', ng-disabled='$ctrl.random') + input(type="{{ $ctrl.show_passphrase ? 'text' : 'password' }}", ng-model='$ctrl.input_passphrase', ng-disabled='$ctrl.random', autofocus) md-input-container.md-block md-checkbox.md-primary(ng-model="$ctrl.show_passphrase", aria-label="Show passphrase") Show passphrase md-content(layout='row', layout-align='center center')