third_party/pipeline/pipeline/ui/status.js
function scrollTreeToPipeline(pipelineIdOrElement) {
  var element = pipelineIdOrElement;
  if (!(pipelineIdOrElement instanceof jQuery)) {
    element = $(getTreePipelineElementId(pipelineIdOrElement));
  }
  $('#sidebar').scrollTop(element.attr('offsetTop'));
  $('#sidebar').scrollLeft(element.attr('offsetLeft'));
}
function scrollTreeToPipeline(pipelineIdOrElement) {
  var element = pipelineIdOrElement;
  if (!(pipelineIdOrElement instanceof jQuery)) {
    element = $(getTreePipelineElementId(pipelineIdOrElement));
  }
  $('#sidebar').scrollTop(element.attr('offsetTop'));
  $('#sidebar').scrollLeft(element.attr('offsetLeft'));
}
function scrollTreeToPipeline ( pipelineIdOrElement ) { var element = pipelineIdOrElement ; if ( ! ( pipelineIdOrElement instanceof jQuery ) ) { element = $ ( getTreePipelineElementId ( pipelineIdOrElement ) ) ; } $ ( '#sidebar' ) . scrollTop ( element . attr ( 'offsetTop' ) ) ; $ ( '#sidebar' ) . scrollLeft ( element . attr ( 'offsetLeft' ) ) ; }
Scrolls to element of the pipeline in the tree.
Scrolls to element of the pipeline in the tree .