aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2014-12-04 14:27:06 +0100
committerMilo Casagrande <milo.casagrande@linaro.org>2014-12-04 14:27:06 +0100
commit344b442e41d8cd173dda84752b82e95d3f73d79c (patch)
tree72a5fa4e8097eaf881d66464af1f99747acc8b5a
parent00f29ea153c5d7938160c3d5627c2dc202f6b4d4 (diff)
Add errorIds.
Change-Id: Ia00fabcc06ddfe92ed53e39847752ee888899db1
-rw-r--r--app/dashboard/static/js/linaro-index-1.3.1.js17
1 files changed, 13 insertions, 4 deletions
diff --git a/app/dashboard/static/js/linaro-index-1.3.1.js b/app/dashboard/static/js/linaro-index-1.3.1.js
index 26a1563..52eb85d 100644
--- a/app/dashboard/static/js/linaro-index-1.3.1.js
+++ b/app/dashboard/static/js/linaro-index-1.3.1.js
@@ -83,7 +83,9 @@ function countFailedDefconfigs(data) {
ajaxData,
null,
countErrorFunction,
- errorReason
+ errorReason,
+ null,
+ 'failed-count'
);
} else {
// Perform POST on batch API.
@@ -343,7 +345,10 @@ $(document).ready(function() {
ajaxData,
populateDefconfigsTable,
tableErrorDefconfigFunction,
- errorReason);
+ errorReason,
+ null,
+ 'failed-defconf'
+ );
$.when(ajaxDeferredCall)
.then(countFailedDefconfigs, countErrorFunction);
@@ -368,7 +373,9 @@ $(document).ready(function() {
ajaxData,
null,
tableErrorBootFunction,
- errorReason
+ errorReason,
+ null,
+ 'failed-boot'
);
$.when(ajaxDeferredCall).done(populateBootsTable);
@@ -389,7 +396,9 @@ $(document).ready(function() {
ajaxData,
null,
tableErrorJobFunction,
- errorReason
+ errorReason,
+ null,
+ 'failed-job'
);
$.when(ajaxDeferredCall).done(populateJobsTalbe);