Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -411,10 +411,6 @@ $(document).ready(function () {
}
],
"columnDefs": [
{
"targets": [ 15 ],
"visible": logsExist(response)
},
{
"targets": [ 16 ],
"visible": getThreadDumpEnabled()
Expand All @@ -423,7 +419,8 @@ $(document).ready(function () {
"order": [[0, "asc"]]
};

$(selector).DataTable(conf);
var dt = $(selector).DataTable(conf);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know better than I how to implement this. Does the same logic apply to column 16's init above?

Copy link
Member Author

@ajbozarth ajbozarth Dec 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the column 16 logic is based on a conf flag, 15 is based on a function using the current page data

dt.column(15).visible(logsExist(response));
$('#active-executors [data-toggle="tooltip"]').tooltip();

var sumSelector = "#summary-execs-table";
Expand Down