diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2014-12-03 16:15:39 +0100 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2014-12-03 16:15:39 +0100 |
commit | d1b001515da26b591c2b4d9b4ea2e441f6d8dedc (patch) | |
tree | 030fd33c17da412799510a0788b63980a1f9630a | |
parent | e64a29e36522ef09fbb5aef3e98159b48087b675 (diff) |
Update HTML references.
Change-Id: Ifbcccdaa5c5dda1ba72c848d9f8b8cafe43a2e30
-rw-r--r-- | app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.0.4.js | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.0.4.js b/app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.0.4.js index 8940088..5522129 100644 --- a/app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.0.4.js +++ b/app/dashboard/static/js/linaro-builds-job-kernel-defconfig-1.0.4.js @@ -389,15 +389,17 @@ function getBootReports(data) { function bisectAjaxCallFailed(data) { 'use strict'; - $('#loading-div').remove(); - $('#bisect-content').empty() + $('#bisect-loading-div').remove(); + $('#bisect-content') + .removeClass('hidden') + .empty() .append('<strong>Error loading bisect data from server.</strong>') .addClass('pull-center'); } function createBisectTable(data) { 'use strict'; - $('#loading-content').empty().append('loading bisect data…'); + $('#bisect-loading-content').empty().append('loading bisect data…'); var localResult = data.result[0], localData = localResult.bisect_data, @@ -476,7 +478,7 @@ function createBisectTable(data) { unknownCommitCell + goodCommitCell + '</tr>'; } - $('#loading-div').remove(); + $('#bisect-loading-div').remove(); $('#bad-commit').empty().append( '<span class="text-danger">' + badCommit + '</span>'); if (goodCommit !== null) { @@ -500,8 +502,10 @@ function createBisectTable(data) { $('#dl-bisect-script').remove(); } - $('#build-bisect-table-body').empty().append(tableRows); - $('#bisect-content').fadeIn('slow', 'linear'); + $('#bisect-table-body').empty().append(tableRows); + $('#bisect-content') + .removeClass('hidden') + .fadeIn('slow', 'linear'); } function getBisectData(data) { @@ -576,7 +580,7 @@ $(document).ready(function() { }); $('#li-build').addClass('active'); - $('#bisect-content').hide(); + // $('#bisect-content').hide(); var errorReason = 'Defconfig data call failed.', defconfigData = {}; |