updating sockets to only init once.

This commit is contained in:
John Mitchell
2015-05-20 11:22:25 -04:00
parent f09ef53a6c
commit 299ece0b22
12 changed files with 160 additions and 152 deletions

View File

@@ -48,7 +48,7 @@ angular.module('DashboardJobsWidget', ['RestServices', 'Utilities'])
e.html(html);
$compile(e)(scope);
$rootScope.$on('JobStatusChange', function() {
$rootScope.$on('JobStatusChange-home', function() {
jobs_scope.refreshJobs();
});