mirror of https://github.com/BTCPrivate/copay.git
handle prompt cancel
This commit is contained in:
parent
55cf51efce
commit
db05d964e1
|
@ -450,6 +450,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
var title = gettextCatalog.getString("Please, enter the code below");
|
||||
var message = gettextCatalog.getString("A SMS containing a confirmation code was sent to your phone.");
|
||||
popupService.showPrompt(title, message, null, function(twoFaCode) {
|
||||
if (typeof twoFaCode == 'undefined') return;
|
||||
if ($scope.glideraBuy) {
|
||||
$scope.buyRequest(wallet, twoFaCode, function(err, data) {
|
||||
if (err) {
|
||||
|
|
Loading…
Reference in New Issue