From fc8f315671803de540dcd604144003f54c3b43d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Baz=C3=A1n?= Date: Mon, 5 Dec 2016 11:36:01 -0300 Subject: [PATCH] fixes --- src/js/controllers/glidera.js | 9 +++------ www/views/glidera.html | 6 +++--- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/js/controllers/glidera.js b/src/js/controllers/glidera.js index dad595d59..bb746274f 100644 --- a/src/js/controllers/glidera.js +++ b/src/js/controllers/glidera.js @@ -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) { diff --git a/www/views/glidera.html b/www/views/glidera.html index 18f29bb04..a169a6e82 100644 --- a/www/views/glidera.html +++ b/www/views/glidera.html @@ -27,7 +27,7 @@

Connect your Glidera account to get started.

@@ -41,7 +41,7 @@
-
+