Merge pull request #161 from cubedro/develop

removed toastr until bug fix
This commit is contained in:
Marian OANCΞA 2015-05-30 17:40:30 +03:00
commit ddfce101b4
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -145,8 +145,8 @@ netStatsApp.controller('StatsCtrl', function($scope, $filter, socket, _, toastr)
if( addNewNode(data) )
toastr['success']("New node "+ $scope.nodes[findIndex({id: data.id})].info.name +" connected!", "New node!");
else
toastr['info']("Node "+ $scope.nodes[index].info.name +" reconnected!", "Node is back!");
// else
// toastr['info']("Node "+ $scope.nodes[index].info.name +" reconnected!", "Node is back!");
break;
@ -250,7 +250,7 @@ netStatsApp.controller('StatsCtrl', function($scope, $filter, socket, _, toastr)
if( !_.isUndefined(data.stats) )
$scope.nodes[index].stats = data.stats;
toastr['error']("Node "+ $scope.nodes[index].info.name +" went away!", "Node connection was lost!");
// toastr['error']("Node "+ $scope.nodes[index].info.name +" went away!", "Node connection was lost!");
}
break;