receive money from glidera in any wallet
This commit is contained in:
parent
878a512bc2
commit
794f6a01df
2 changed files with 12 additions and 5 deletions
|
|
@ -36,12 +36,14 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
||||||
throw ('bad params');
|
throw ('bad params');
|
||||||
}
|
}
|
||||||
|
|
||||||
glideraService.getLimits($scope.glideraAccessToken, function(err, limits) {
|
if ($scope.isGlidera) {
|
||||||
$scope.limits = limits;
|
glideraService.getLimits($scope.glideraAccessToken, function(err, limits) {
|
||||||
$timeout(function() {
|
$scope.limits = limits;
|
||||||
$scope.$apply();
|
$timeout(function() {
|
||||||
|
$scope.$apply();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
}
|
||||||
|
|
||||||
var reNr = /^[1234567890\.]$/;
|
var reNr = /^[1234567890\.]$/;
|
||||||
var reOp = /^[\*\+\-\/]$/;
|
var reOp = /^[\*\+\-\/]$/;
|
||||||
|
|
|
||||||
|
|
@ -70,6 +70,11 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($scope.isGlidera == 'buy') {
|
||||||
|
initConfirm();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var filteredWallets = [];
|
var filteredWallets = [];
|
||||||
var index = 0;
|
var index = 0;
|
||||||
var enoughFunds = false;
|
var enoughFunds = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue