summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-08-06 19:01:34 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-06 16:04:48 -0500
commitda4c66385dc8bc80242664c365b180c9bbc98707 (patch)
treeab2eff87ff1ee452aefa42aabbaa3dd4cee74a21
parente616c201a5bc311f3d9c1801bdca773735adbc3a (diff)
downloadpoky-da4c66385dc8bc80242664c365b180c9bbc98707.tar.gz
bitbake: toastergui: Fix toastertable table header reference
A header id was mistakenly added to the table template which was not also added to the simple version of the toaster template. We don't need this id so remove it. (Bitbake rev: daf902e2a6f736b9c8ef6492143fdbf856451559) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/table.js2
-rw-r--r--bitbake/lib/toaster/toastergui/templates/toastertable.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/table.js b/bitbake/lib/toaster/toastergui/static/js/table.js
index d06a3f539a..f18034df52 100644
--- a/bitbake/lib/toaster/toastergui/static/js/table.js
+++ b/bitbake/lib/toaster/toastergui/static/js/table.js
@@ -198,7 +198,7 @@ function tableInit(ctx){
198 if (tableChromeDone === true) 198 if (tableChromeDone === true)
199 return; 199 return;
200 200
201 var tableHeadRow = table.find("thead#tableheader"); 201 var tableHeadRow = table.find("thead");
202 var editColMenu = $("#table-chrome-"+ctx.tableName).find(".editcol"); 202 var editColMenu = $("#table-chrome-"+ctx.tableName).find(".editcol");
203 203
204 tableHeadRow.html(""); 204 tableHeadRow.html("");
diff --git a/bitbake/lib/toaster/toastergui/templates/toastertable.html b/bitbake/lib/toaster/toastergui/templates/toastertable.html
index 047311636c..9ef4c6ffee 100644
--- a/bitbake/lib/toaster/toastergui/templates/toastertable.html
+++ b/bitbake/lib/toaster/toastergui/templates/toastertable.html
@@ -78,7 +78,7 @@
78 78
79 <!-- The actual table --> 79 <!-- The actual table -->
80 <table class="table table-bordered table-hover tablesorter" id="{{table_name}}"> 80 <table class="table table-bordered table-hover tablesorter" id="{{table_name}}">
81 <thead id="tableheader"> 81 <thead>
82 <tr><th></th></tr> 82 <tr><th></th></tr>
83 </thead> 83 </thead>
84 <tbody></tbody> 84 <tbody></tbody>