[responsive] The loaded job browser should respond to all the hashchange events
@@ -1108,13 +1108,16 @@ ${ commonheader("Job Browser", "jobbrowser", user, request) | n,unicode }
viewModel.interface(h);
break;
default:
+ var isJob = true;
if (/oozie-oozi-W/.test(h)) { viewModel.interface('workflows'); }
else if (/oozie-oozi-C/.test(h)) { viewModel.interface('schedules'); }
else if (/oozie-oozi-B/.test(h)) { viewModel.interface('bundles'); }
-
+ else { isJob = false; }
+ if (isJob) {
new Job(viewModel, {id: h}).fetchJob();
}
}
+ }
window.onhashchange = function () {
loadHash();
