aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2015-02-16 15:31:26 +0100
committerMilo Casagrande <milo.casagrande@linaro.org>2015-02-16 15:31:26 +0100
commit0f3e2a8c1d8ccb066281909d62d8eadc3ea8d73e (patch)
tree6798c985a0d0d64b3ca6c97a0f5861d62aeb3a47
parentf1c6e3c60fdd2775bb7abc780975a5384b469df5 (diff)
Fix use of div ID.
Change-Id: If1dfb61c49265aea0ffb5e1c1a16a6bf9338f553
-rw-r--r--app/dashboard/static/js/linaro-bisect-0.0.2.js8
-rw-r--r--app/dashboard/static/js/linaro-boots-id-1.2.2.js6
-rw-r--r--app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.1.2.js6
3 files changed, 7 insertions, 13 deletions
diff --git a/app/dashboard/static/js/linaro-bisect-0.0.2.js b/app/dashboard/static/js/linaro-bisect-0.0.2.js
index 2ad02bb..b6a705a 100644
--- a/app/dashboard/static/js/linaro-bisect-0.0.2.js
+++ b/app/dashboard/static/js/linaro-bisect-0.0.2.js
@@ -76,9 +76,7 @@ var Bisect = (function() {
prevBisect: null,
// The ID of the div element where to put show/hide buttons for the
// bisect table rows.
- bisectShowHideID: null,
- // The ID of the div with the title of the bisect section.
- bisectSectionId: null
+ bisectShowHideID: null
};
// Format strings used to build links, tooltips, labels...
@@ -476,7 +474,7 @@ var Bisect = (function() {
'<div class="pull-right bisect-back">' +
'<span rel="tooltip" data-toggle="tooltip" ' +
'title="Go back to bisect summary">' +
- '<small><a href="' + sectionId + '">Back to Section</a></small>' +
+ '<small><a href="' + sectionId + '">Back to Summary</a></small>' +
'</span>' +
'</div>'
);
@@ -675,7 +673,7 @@ var Bisect = (function() {
localLen,
bisectElements.bisectShowHideID,
bisectElements.tableID,
- bisectElements.bisectSectionId,
+ bisectElements.contentDivID,
bisectElements.tableDivID,
isComparison);
diff --git a/app/dashboard/static/js/linaro-boots-id-1.2.2.js b/app/dashboard/static/js/linaro-boots-id-1.2.2.js
index f534446..7e4cd7a 100644
--- a/app/dashboard/static/js/linaro-boots-id-1.2.2.js
+++ b/app/dashboard/static/js/linaro-boots-id-1.2.2.js
@@ -599,8 +599,7 @@ function bisectComparedToMainline(data) {
bisectScriptContentID: '#bisect-compare-script',
bisectCompareDescriptionID: '#bisect-compare-description',
prevBisect: bisectData,
- bisectShowHideID: '#bisect-compare-hide-div',
- bisectSectionId: '#bisect-compared'
+ bisectShowHideID: '#bisect-compare-hide-div'
};
$.when(ajaxDeferredCall).done(function(data) {
@@ -670,8 +669,7 @@ function getBisectData(data) {
bisectScriptContentID: '#bisect-script',
bisectCompareDescriptionID: null,
prevBisect: null,
- bisectShowHideID: '#bisect-hide-div',
- bisectSectionId: '#bisect-default'
+ bisectShowHideID: '#bisect-hide-div'
};
$.when(bisectAjaxCall)
diff --git a/app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.1.2.js b/app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.1.2.js
index db40c1e..c1c80d8 100644
--- a/app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.1.2.js
+++ b/app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.1.2.js
@@ -430,8 +430,7 @@ function buildBisectComparedToMainline(data) {
bisectScriptContentID: '#bisect-compare-script',
bisectCompareDescriptionID: '#bisect-compare-description',
prevBisect: bisectData,
- bisectShowHideID: '#bisect-compare-hide-div',
- bisectSectionId: '#bisect-compared'
+ bisectShowHideID: '#bisect-compare-hide-div'
};
JSBase.removeCssClassForID('#bisect-compare-div', 'hidden');
@@ -501,8 +500,7 @@ function getBisectData(data) {
bisectScriptContentID: '#bisect-script',
bisectCompareDescriptionID: null,
prevBisect: null,
- bisectShowHideID: '#bisect-hide-div',
- bisectSectionId: '#bisect-default'
+ bisectShowHideID: '#bisect-hide-div'
};
$.when(deferredAjaxCall)