default long polling in socket.io (in config.js)

This commit is contained in:
Matias Alejo Garcia 2014-10-06 16:13:21 -03:00
commit 923a0bb975
7 changed files with 75 additions and 43 deletions

View file

@ -80,11 +80,9 @@ angular.module('copayApp.controllers').controller('SidebarController', function(
if (err) {
notification.warning('Could not open wallet');
} else {
iden.closeWallet($rootScope.wallet.id, function() {
$scope.loading = false;
$rootScope.wallet = w;
controllerUtils.bindWallet(w, $scope);
});
$scope.loading = false;
$rootScope.wallet = w;
controllerUtils.bindWallet(w, $scope);
}
});
};