[frontend] Assign app to the JB2 intervals so they can be paused and resumed
@@ -1396,9 +1396,9 @@ ${ commonheader("Job Browser", "jobbrowser", user, request) | n,unicode }
self.job.subscribe(function(val) {
clearInterval(clock);
if (val) {
- clock = setInterval(val.updateJob, 5000);console.log('set interval');
+ clock = setInterval(val.updateJob, 5000, 'jobbrowser');
} else {
- clock = setInterval(self.jobs.updateJobs, 20000);console.log('set interval');
+ clock = setInterval(self.jobs.updateJobs, 20000, 'jobbrowser');
}
});
