handle prompt cancel
This commit is contained in:
parent
55cf51efce
commit
db05d964e1
1 changed files with 1 additions and 0 deletions
|
|
@ -450,6 +450,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
var title = gettextCatalog.getString("Please, enter the code below");
|
var title = gettextCatalog.getString("Please, enter the code below");
|
||||||
var message = gettextCatalog.getString("A SMS containing a confirmation code was sent to your phone.");
|
var message = gettextCatalog.getString("A SMS containing a confirmation code was sent to your phone.");
|
||||||
popupService.showPrompt(title, message, null, function(twoFaCode) {
|
popupService.showPrompt(title, message, null, function(twoFaCode) {
|
||||||
|
if (typeof twoFaCode == 'undefined') return;
|
||||||
if ($scope.glideraBuy) {
|
if ($scope.glideraBuy) {
|
||||||
$scope.buyRequest(wallet, twoFaCode, function(err, data) {
|
$scope.buyRequest(wallet, twoFaCode, function(err, data) {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue