bitbake: toastergui: Fix toastertable table header reference
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.
Signed-off-by Michael Wood <[email protected]>
--- 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
@@ -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
@@ -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