Merge pull request #2759 from cmgustavo/bug/wp8-create
Fix create wallet for wp8.1
This commit is contained in:
commit
4e13fe39c7
2 changed files with 7 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="create-tab">
|
<div class="create-tab" ng-hide="create.hideTabs">
|
||||||
<div class="tab-container">
|
<div class="tab-container">
|
||||||
<a href
|
<a href
|
||||||
ng-class="{'selected': totalCopayers == 1}"
|
ng-class="{'selected': totalCopayers == 1}"
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
<div class="large-12 columns" ng-hide="create.hideWalletName">
|
<div class="large-12 columns" ng-hide="create.hideWalletName">
|
||||||
<label><span translate>Wallet name</span>
|
<label><span translate>Wallet name</span>
|
||||||
<div class="input">
|
<div class="input">
|
||||||
<input type="text" placeholder="{{'Family vacation funds'|translate}}" class="form-control" name="walletName" ng-model="walletName" ng-required="true" ng-blur="create.formFocus(false)">
|
<input type="text" placeholder="{{'Family vacation funds'|translate}}" class="form-control" name="walletName" ng-model="walletName" ng-required="true" ng-focus="create.formFocus('wallet-name')" ng-blur="create.formFocus(false)">
|
||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -76,9 +76,14 @@ angular.module('copayApp.controllers').controller('createController',
|
||||||
|
|
||||||
if (what && what == 'my-name') {
|
if (what && what == 'my-name') {
|
||||||
this.hideWalletName = true;
|
this.hideWalletName = true;
|
||||||
|
this.hideTabs = true;
|
||||||
|
}
|
||||||
|
else if (what && what == 'wallet-name'){
|
||||||
|
this.hideTabs = true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.hideWalletName = false;
|
this.hideWalletName = false;
|
||||||
|
this.hideTabs = false;
|
||||||
}
|
}
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$rootScope.$digest();
|
$rootScope.$digest();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue