Fix live events on dashboard

This commit is contained in:
Joe Fiorini
2015-03-04 14:16:29 -05:00
parent e653e9561a
commit f8c3fd11da
3 changed files with 21 additions and 2 deletions

View File

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