fixes
This commit is contained in:
parent
2d6dad6557
commit
fc8f315671
2 changed files with 6 additions and 9 deletions
|
|
@ -69,11 +69,11 @@ angular.module('copayApp.controllers').controller('glideraController',
|
|||
}
|
||||
};
|
||||
|
||||
this.getAuthenticateUrl = function() {
|
||||
$scope.getAuthenticateUrl = function() {
|
||||
return glideraService.getOauthCodeUrl();
|
||||
};
|
||||
|
||||
this.submitOauthCode = function(code) {
|
||||
$scope.submitOauthCode = function(code) {
|
||||
ongoingProcess.set('connectingGlidera', true);
|
||||
$timeout(function() {
|
||||
glideraService.getToken(code, function(err, data) {
|
||||
|
|
@ -92,10 +92,7 @@ angular.module('copayApp.controllers').controller('glideraController',
|
|||
}, 100);
|
||||
};
|
||||
|
||||
this.openTxModal = function(token, tx) {
|
||||
var self = this;
|
||||
|
||||
$scope.self = self;
|
||||
$scope.openTxModal = function(token, tx) {
|
||||
$scope.tx = tx;
|
||||
|
||||
glideraService.getTransaction(token, tx.transactionUuid, function(err, tx) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue