Merge pull request #787 from matiu/bug/settings

Bug/settings
This commit is contained in:
Gustavo Maximiliano Cortez 2014-06-27 17:42:35 -03:00
commit c745aa8c3e
4 changed files with 18 additions and 17 deletions

View file

@ -44,8 +44,7 @@ angular.module('copayApp.services')
root.installStartupHandlers = function(wallet, $scope) {
wallet.on('serverError', function(msg) {
notification.error('PeerJS Error', 'There was an error connecting to the PeerJS server.'
+ (msg || 'Check you settings and Internet connection.'));
notification.error('PeerJS Error', 'There was an error connecting to the PeerJS server.' + (msg || 'Check you settings and Internet connection.'));
root.onErrorDigest($scope);
$location.path('addresses');
});