fixed tabbing for jobs history page (#1353)

This commit is contained in:
Aditya Bist
2018-05-05 11:10:44 -07:00
committed by GitHub
parent 0d76e845d5
commit a5c5fcbde1
3 changed files with 6 additions and 2 deletions

View File

@@ -148,6 +148,8 @@ export class JobHistoryComponent extends Disposable implements OnInit {
if (this._jobCacheObject.prevJobID === this._agentViewComponent.jobId || jobHistories[0].jobId === this._agentViewComponent.jobId) {
this._showPreviousRuns = true;
this.buildHistoryTree(self, jobHistories);
$('jobhistory-component .history-details .prev-run-list .monaco-tree').attr('tabIndex', '-1');
$('jobhistory-component .history-details .prev-run-list .monaco-tree-row').attr('tabIndex', '0');
this._cd.detectChanges();
}
} else if (jobHistories && jobHistories.length === 0 ){