Fix create wallet for wp8.1
This commit is contained in:
parent
9b60348d9e
commit
fe50717d6c
2 changed files with 7 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="create-tab">
|
||||
<div class="create-tab" ng-hide="create.hideTabs">
|
||||
<div class="tab-container">
|
||||
<a href
|
||||
ng-class="{'selected': totalCopayers == 1}"
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
<div class="large-12 columns" ng-hide="create.hideWalletName">
|
||||
<label><span translate>Wallet name</span>
|
||||
<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>
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -76,9 +76,14 @@ angular.module('copayApp.controllers').controller('createController',
|
|||
|
||||
if (what && what == 'my-name') {
|
||||
this.hideWalletName = true;
|
||||
this.hideTabs = true;
|
||||
}
|
||||
else if (what && what == 'wallet-name'){
|
||||
this.hideTabs = true;
|
||||
}
|
||||
else {
|
||||
this.hideWalletName = false;
|
||||
this.hideTabs = false;
|
||||
}
|
||||
$timeout(function() {
|
||||
$rootScope.$digest();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue