fix okay button on status modal and others
This commit is contained in:
parent
1013eb0f40
commit
a6b3b204bd
3 changed files with 6 additions and 4 deletions
|
|
@ -49,6 +49,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
<button class="button button-block button-positive accept-button" ng-click="approve()" ng-if="!isCordova" translate>Click to pay</button>
|
||||
<accept class="accept-slide" ng-if="isCordova"></accept>
|
||||
<button class="button button-block button-positive accept-button" ng-click="approve()" ng-if="!isCordova" ng-disabled="!fee" translate>Click to pay</button>
|
||||
<accept class="accept-slide" ng-if="isCordova && fee"></accept>
|
||||
</ion-view>
|
||||
|
|
|
|||
|
|
@ -162,5 +162,5 @@
|
|||
</div>
|
||||
</ion-content>
|
||||
<button class="button button-block button-positive accept-button" ng-click="approve()" ng-if="!isCordova" translate>Click to pay</button>
|
||||
<accept class="accept-slide" ng-if="tx.pendingForUs && canSign && !loading && !paymentExpired"></accept>
|
||||
<accept class="accept-slide" ng-if="tx.pendingForUs && canSign && !loading && !paymentExpired && isCordova"></accept>
|
||||
</ion-modal-view>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('txStatusController', function($scope, $timeout, $state, $log, addressbookService) {
|
||||
angular.module('copayApp.controllers').controller('txStatusController', function($scope, $timeout, $state, $ionicHistory, $log, addressbookService) {
|
||||
|
||||
if ($scope.cb) $timeout($scope.cb, 100);
|
||||
|
||||
$scope.cancel = function() {
|
||||
$ionicHistory.clearHistory();
|
||||
$state.go('tabs.home');
|
||||
$scope.txStatusModal.hide();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue