Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@
<j:if test="${build.getStatus() == 'BUILDING'}">
buildPipeline.showProgress(${build.getId()}, ${build.getDependencyIds()});
</j:if>
<j:if test="${build.getStatus() == 'PENDING'}">
jQuery("#pipelines").bind("show-status-${build.getId()}", function() {
jQuery("table.pipelines").on("show-status-${build.getId()}", function() {
<j:choose>
<j:when test="${build.isManualTrigger()}">
buildPipeline.updateBuildCard(${build.getId()});
Expand All @@ -152,7 +151,6 @@
</j:otherwise>
</j:choose>
});
</j:if>
</script>
<j:if test="${(y + 1 != buildPipelineForm.getGridWidth())}">
<!-- Changing length to size() to get rid of arrows when there are no more child jobs.-->
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/js/build-pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ BuildPipeline.prototype = {
buildPipeline.updateAllBuildCards(dependencies);
// trigger all dependency tracking
jQuery.each(dependencies, function(){
jQuery("#pipelines").trigger("show-status-" + this);
jQuery("table.pipelines").trigger("show-status-" + this);
});
}
});
Expand Down