add maxPeer check

This commit is contained in:
Matias Alejo Garcia 2014-04-09 11:05:25 -03:00
commit 0780879205
6 changed files with 73 additions and 30 deletions

View file

@ -32,9 +32,12 @@ angular.module('copay.header').controller('HeaderController',
};
$scope.signout = function() {
$rootScope.isLogged = false;
Network.disconnect(function() {
$location.path('signin');
});
};
$scope.clearFlashMessage = function() {
$rootScope.flashMessage = {};
};
});