AC-420 unshifted shifted columns

This commit is contained in:
chouseknecht
2013-09-06 17:49:19 -04:00
parent f8e1d2e0e3
commit 216c488ce7
4 changed files with 15 additions and 2 deletions

View File

@@ -18,6 +18,15 @@ function JobHostSummaryList ($scope, $rootScope, $location, $log, $routeParams,
var list = JobHostList;
var base = $location.path().replace(/^\//,'').split('/')[0];
var defaultUrl = GetBasePath(base) + $routeParams.id + '/job_host_summaries/';
// When viewing all summaries for a particular host, show job ID, otherwise row ID.
if (base == 'hosts') {
list.index = false;
}
else {
list.index = true;
}
var view = GenerateList;
var scope = view.inject(list, { mode: 'edit' });
scope.selected = [];