From ba138059ce75a592d271aa3db8b286f6a01780d8 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 22 Jun 2017 13:32:19 -0300 Subject: [PATCH] Fix slide to pay --- src/js/controllers/confirm.js | 8 -------- www/views/confirm.html | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/js/controllers/confirm.js b/src/js/controllers/confirm.js index e12c82cf7..c9ce5943a 100644 --- a/src/js/controllers/confirm.js +++ b/src/js/controllers/confirm.js @@ -353,10 +353,6 @@ angular.module('copayApp.controllers').controller('confirmController', function( popupService.showAlert(null, msg, function() {}); }; - $scope.$on('accepted', function(event) { - $scope.approve(); - }); - $scope.onWalletSelect = function(wallet) { setWallet(wallet, tx); }; @@ -535,10 +531,6 @@ angular.module('copayApp.controllers').controller('confirmController', function( $scope.statusChangeHandler = statusChangeHandler; - $scope.onConfirm = function() { - $scope.approve(statusChangeHandler); - }; - $scope.onSuccessConfirm = function() { $scope.sendStatus = ''; $ionicHistory.nextViewOptions({ diff --git a/www/views/confirm.html b/www/views/confirm.html index c7f801539..cff04ebf3 100644 --- a/www/views/confirm.html +++ b/www/views/confirm.html @@ -107,7 +107,7 @@ {{buttonText}}