[bitbake-devel] [PATCH 05/22] toastergui: table header bring back
Alex DAMIAN
alexandru.damian at intel.com
Thu May 28 14:13:59 UTC 2015
From: Alexandru DAMIAN <alexandru.damian at intel.com>
This patch brings back the table header, which I mistakenly
took out when fixing HTML5 compliance.
Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
---
lib/toaster/toastergui/static/js/table.js | 2 +-
lib/toaster/toastergui/templates/toastertable.html | 2 +-
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 8f5bb2e..97370fd 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 598d295..21392bb 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>
--
1.9.1
More information about the bitbake-devel
mailing list