forked from geoffbullen/build-pipeline-plugin
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-74055] Extract inline script block in `BuildPipelineView/mai…
…n_dashboard.jelly` (#149)
- Loading branch information
1 parent
66867ef
commit f2ceaf6
Showing
2 changed files
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
.../com/centrumsystems/hudson/plugin/buildpipeline/BuildPipelineView/toggle-build-details.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// show/hide build details | ||
jQuery(document).ready(function() { | ||
jQuery(".header").click(function() { | ||
var parent = jQuery(this).parent(); | ||
var ba = parent.find(".build-actions"); | ||
var bb = parent.find(".build-body"); | ||
|
||
ba.add(bb).toggle('slow'); | ||
}); | ||
}); |