Skip to contentSkip to conversation

bitbake: toastergui: Fix toastertable table header reference

PATCH New Michael Wood 1 participant 1 message Jul 30, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/lib/toaster/toastergui/static/js/table.js          | 2 +-
 bitbake/lib/toaster/toastergui/templates/toastertable.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
bitbake/lib/toaster/toastergui/static/js/table.js +1 -1
index d06a3f5..f18034d 100644
@@ -198,7 +198,7 @@ function tableInit(ctx){
     if (tableChromeDone === true)
       return;
 
-    var tableHeadRow = table.find("thead#tableheader");
+    var tableHeadRow = table.find("thead");
     var editColMenu = $("#table-chrome-"+ctx.tableName).find(".editcol");
 
     tableHeadRow.html("");
bitbake/lib/toaster/toastergui/templates/toastertable.html +1 -1
index 0473116..9ef4c6f 100644
@@ -78,7 +78,7 @@
 
   <!-- The actual table -->
   <table class="table table-bordered table-hover tablesorter" id="{{table_name}}">
-    <thead id="tableheader">
+    <thead>
       <tr><th></th></tr>
     </thead>
     <tbody></tbody>
Signature · 1 line
2.1.4