URL handler to return the code after send a request for access token
This commit is contained in:
parent
b76c6fe5a0
commit
38a4919f01
7 changed files with 108 additions and 13 deletions
|
|
@ -9,8 +9,14 @@ angular.element(document).ready(function() {
|
|||
|
||||
var handleBitcoinURI = function(url) {
|
||||
if (!url) return;
|
||||
if (url.indexOf('glidera') != -1) {
|
||||
url = '#/uri-glidera' + url.replace('bitcoin://glidera', '');
|
||||
}
|
||||
else {
|
||||
url = '#/uri-payment/' + url;
|
||||
}
|
||||
setTimeout(function() {
|
||||
window.location = '#/uri-payment/' + url;
|
||||
window.location = url;
|
||||
}, 1000);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue