aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-05-15 14:43:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-29 11:58:25 +0100
commit9855e0b9735ebf0a6c622bee6ec787dfc1d9e474 (patch)
tree6ad836c6d0ac787cd0d7eecc7920d4254d3317c9
parent5e0bf388f4e5c1cc493ac8264785e631bad2f672 (diff)
downloadbitbake-9855e0b9735ebf0a6c622bee6ec787dfc1d9e474.tar.gz
toastergui: table header bring back
This patch brings back the table header, which I mistakenly took out when fixing HTML5 compliance. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
-rw-r--r--lib/toaster/toastergui/static/js/table.js2
-rw-r--r--lib/toaster/toastergui/templates/toastertable.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/toaster/toastergui/static/js/table.js b/lib/toaster/toastergui/static/js/table.js
index 8f5bb2ebe..97370fd02 100644
--- a/lib/toaster/toastergui/static/js/table.js
+++ b/lib/toaster/toastergui/static/js/table.js
@@ -163,7 +163,7 @@ function tableInit(ctx){
if (tableChromeDone === true)
return;
- var tableHeadRow = table.find("thead tr");
+ var tableHeadRow = table.find("thead#tableheader");
var editColMenu = $("#table-chrome-"+ctx.tableName).find(".editcol");
tableHeadRow.html("");
diff --git a/lib/toaster/toastergui/templates/toastertable.html b/lib/toaster/toastergui/templates/toastertable.html
index 598d2953e..21392bb13 100644
--- a/lib/toaster/toastergui/templates/toastertable.html
+++ b/lib/toaster/toastergui/templates/toastertable.html
@@ -92,7 +92,7 @@
<!-- The actual table -->
<table class="table table-bordered table-hover tablesorter" id="{{table_name}}">
- <thead>
+ <thead id="tableheader">
</thead>
<tbody></tbody>
</table>