fix paypro loading notification
This commit is contained in:
parent
621e85f9b0
commit
4d31b39f94
3 changed files with 34 additions and 15 deletions
|
|
@ -399,7 +399,11 @@ angular.module('copayApp.controllers').controller('SendController',
|
|||
if (err) {
|
||||
copay.logger.warn(err);
|
||||
$scope.resetForm();
|
||||
$scope.error = err.toString();
|
||||
var msg = err.toString();
|
||||
if (msg.match('HTTP')) {
|
||||
msg = 'Could not fetch payment information';
|
||||
}
|
||||
$scope.error = msg;
|
||||
} else {
|
||||
$scope._merchantData = merchantData;
|
||||
$scope._domain = merchantData.domain;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue