diff --git a/src/js/services/popupService.js b/src/js/services/popupService.js index 9045c7b2b..486039a3b 100644 --- a/src/js/services/popupService.js +++ b/src/js/services/popupService.js @@ -118,7 +118,7 @@ angular.module('copayApp.services').service('popupService', function($log, $ioni this.showPrompt = function(title, message, opts, cb) { $log.warn(title + ": " + message); - if (isCordova) + if (isCordova && !opts.forceHTMLPrompt) _cordovaPrompt(title, message, opts, cb); else _ionicPrompt(title, message, opts, cb); diff --git a/src/js/services/walletService.js b/src/js/services/walletService.js index f82d61dc1..216df83d8 100644 --- a/src/js/services/walletService.js +++ b/src/js/services/walletService.js @@ -827,7 +827,8 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim // An alert dialog var askPassword = function(name, title, cb) { var opts = { - inputType: 'password' + inputType: 'password', + forceHTMLPrompt: true }; popupService.showPrompt(title, name, opts, function(res) { if (!res) return cb(); @@ -967,7 +968,7 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim $rootScope.$emit('Local/TxAction', wallet.id); var type = root.getViewStatus(wallet, broadcastedTxp); - if(!customStatusHandler) { + if (!customStatusHandler) { root.openStatusModal(type, broadcastedTxp, function() {}); } @@ -978,7 +979,7 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim var type = root.getViewStatus(wallet, signedTxp); - if(!customStatusHandler) { + if (!customStatusHandler) { root.openStatusModal(type, signedTxp, function() {}); }