diff options
-rw-r--r-- | lib/toaster/toastergui/static/js/table.js | 2 | ||||
-rw-r--r-- | 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 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> |