Merge pull request #1578 from cmgustavo/bug/paypro-chrome-extension
Bug/paypro chrome extension
This commit is contained in:
commit
c0c1c18e2e
2 changed files with 2 additions and 2 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
"default_icon": "img/icons/icon.png",
|
"default_icon": "img/icons/icon.png",
|
||||||
"default_popup": "popup.html"
|
"default_popup": "popup.html"
|
||||||
},
|
},
|
||||||
|
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"tabs", "storage", "notifications"
|
"tabs", "storage", "notifications"
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -288,9 +288,8 @@ angular.module('copayApp.controllers').controller('SendController',
|
||||||
qrcode.callback = function(data) {
|
qrcode.callback = function(data) {
|
||||||
_scanStop();
|
_scanStop();
|
||||||
|
|
||||||
var str = (data.indexOf('bitcoin:') === 0) ? data.substring(8) : data;
|
|
||||||
$scope.$apply(function() {
|
$scope.$apply(function() {
|
||||||
$scope.address = str;
|
$scope.sendForm.address.$setViewValue(data);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue