Skip to content
Open
Show file tree
Hide file tree
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 @@ -80,7 +80,7 @@ function refresh() {
}

function createDataTable() {
dataTableRef = new DataTable('#alertHtmlTable', {
dataTableRef = new DataTable(alertHtmlTable, {
"autoWidth": false,
"ajax": function (data, callback) {
callback({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ $(function () {
sessionStorage[RUNNING_COMPACTIONS_BY_GROUP] = JSON.stringify([]);

// Create a table for scans list
tableRunning = new DataTable('#runningTableHtmlTable', {
tableRunning = new DataTable(runningTableHtmlTable, {
"ajax": function (data, callback) {
callback({
data: getStoredArray(RUNNING_COMPACTIONS_BY_TABLE)
Expand Down Expand Up @@ -98,7 +98,7 @@ $(function () {
]
});

queueRunning = new DataTable('#runningQueueHtmlTable', {
queueRunning = new DataTable(runningQueueHtmlTable, {
"ajax": function (data, callback) {
callback({
data: getStoredArray(RUNNING_COMPACTIONS_BY_GROUP)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function renderListOrDash(data, type) {
function createDataTable() {
$(fateHtmlTable).find('thead').remove();
$(fateHtmlTable).find('tbody').remove();
dataTableRef = new DataTable('#fateHtmlTable', {
dataTableRef = new DataTable(fateHtmlTable, {
"autoWidth": false,
"ajax": function (data, callback) {
callback({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ $(function () {
serversSortingLogs: []
});

overviewDataTable = new DataTable('#overviewTableElement', {
overviewDataTable = new DataTable(overviewTableElement, {
"ajax": function (data, callback) {
callback({
data: getOverview()
Expand Down Expand Up @@ -117,7 +117,7 @@ $(function () {
]
});

tabletDataTable = new DataTable('#tabletRecoveryTableElement', {
tabletDataTable = new DataTable(tabletRecoveryTableElement, {
"ajax": function (data, callback) {
callback({
data: getTablets()
Expand Down Expand Up @@ -145,7 +145,7 @@ $(function () {
]
});

sortingDataTable = new DataTable('#sortingServersTableElement', {
sortingDataTable = new DataTable(sortingServersTableElement, {
"ajax": function (data, callback) {
callback({
data: getSorting()
Expand Down Expand Up @@ -210,7 +210,7 @@ $(function () {
}
]
});
replayingDataTable = new DataTable('#replayingServersTableElement', {
replayingDataTable = new DataTable(replayingServersTableElement, {
"ajax": function (data, callback) {
callback({
data: getReplaying()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function refreshServerInformation(callback, table, storageKey, banner, bannerMsg
* css class.
*/
function createDataTable(table, storageKey) {
var dataTableRef = new DataTable('#table', {
var dataTableRef = new DataTable(table, {
"autoWidth": false,
"ajax": function (data, callback) {
callback({
Expand Down