Minor fixes. Fix Glidera

This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-23 13:34:47 -03:00
commit fabf6a6fd1
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
5 changed files with 10 additions and 11 deletions

View file

@ -3,13 +3,13 @@
angular.module('copayApp.controllers').controller('glideraController',
function($scope, $timeout, $ionicModal, $log, storageService, glideraService, ongoingProcess, platformInfo, externalLinkService, popupService, gettextCatalog) {
$scope.network = glideraService.getEnvironment();
$scope.openExternalLink = function(url, target) {
externalLinkService.open(url, target);
};
var initGlidera = function(accessToken) {
$scope.network = glideraService.getEnvironment();
$scope.token = null;
$scope.permissions = null;
$scope.email = null;
@ -113,7 +113,7 @@ angular.module('copayApp.controllers').controller('glideraController',
});
};
$scope.$on("$ionicView.enter", function(event, data){
$scope.$on("$ionicView.beforeEnter", function(event, data){
initGlidera();
});