Added socket button to projects. Project page now updated realtime with job status.

This commit is contained in:
Chris Houseknecht
2014-04-23 19:04:23 -04:00
parent 49c26aad10
commit 389d99875f
4 changed files with 60 additions and 18 deletions
@@ -495,6 +495,8 @@ function InventoriesEdit($scope, $location, $routeParams, $compile, $log, $rootS
}
$rootScope.removeJobStatusChange = $rootScope.$on('JobStatusChange', function(e, data) {
var group, stat;
Wait('stop');
$log.debug(data);
if ($scope.groups) {
// Assuming we have a list of groups available
group = Find({ list: $scope.groups, key: 'group_id', val: data.group_id });