-
+
${job.getFailureMessage()}
diff --git a/src/main/resources/hudson/plugins/sauce_ondemand/SauceOnDemandProjectAction/jobMain.jelly b/src/main/resources/hudson/plugins/sauce_ondemand/SauceOnDemandProjectAction/jobMain.jelly
index 3e37df79..7a93136b 100755
--- a/src/main/resources/hudson/plugins/sauce_ondemand/SauceOnDemandProjectAction/jobMain.jelly
+++ b/src/main/resources/hudson/plugins/sauce_ondemand/SauceOnDemandProjectAction/jobMain.jelly
@@ -49,7 +49,7 @@
${job.getStatus()}
-
+
${job.getFailureMessage()}
diff --git a/src/main/webapp/css/analytics.css b/src/main/webapp/css/analytics.css
index 0564c788..79f9fe83 100644
--- a/src/main/webapp/css/analytics.css
+++ b/src/main/webapp/css/analytics.css
@@ -28,11 +28,11 @@
}
.show {
- display:block;
+ display: block;
}
.divider {
- width:5px;
- height:auto;
- display:inline-block;
+ width: 5px;
+ height: auto;
+ display: inline-block;
}
diff --git a/src/main/webapp/js/dropdown.js b/src/main/webapp/js/dropdown.js
index 177e1cd3..974f783d 100644
--- a/src/main/webapp/js/dropdown.js
+++ b/src/main/webapp/js/dropdown.js
@@ -1,5 +1,5 @@
-function dropdown(target) {
- target.parentNode.getElementsByClassName("dropdown-content")[0].classList.toggle("show");
+function dropdown(event) {
+ event.target.parentNode.getElementsByClassName("dropdown-content")[0].classList.toggle("show");
}
// close the dropdown if the user clicks outside the button or dropdown content
@@ -14,4 +14,10 @@ window.onclick = function(event) {
}
}
}
-}
\ No newline at end of file
+}
+
+document.addEventListener("DOMContentLoaded", () => {
+ document.querySelectorAll(".dropdown-button").forEach((button) => {
+ button.addEventListener("click", dropdown);
+ });
+});