- some bug fixes where tables in /admin section appear empty after the last commit
This commit is contained in:
@@ -73,7 +73,7 @@ define([
|
||||
|
||||
setPageObserver();
|
||||
|
||||
let temp = $('.dataTable').dataTable( {
|
||||
let temp = $('.dataTable').dataTable({
|
||||
pageLength: 100,
|
||||
paging: true,
|
||||
ordering: true,
|
||||
@@ -84,7 +84,8 @@ define([
|
||||
zeroRecords: 'No entries found',
|
||||
lengthMenu: 'Show _MENU_ entries',
|
||||
info: 'Showing _START_ to _END_ of _TOTAL_ entries'
|
||||
}
|
||||
},
|
||||
data: null // use DOM data overwrites [] default -> data.loader.js
|
||||
});
|
||||
|
||||
|
||||
|
||||
@@ -89,7 +89,8 @@ define([
|
||||
lengthMenu: 'Show _MENU_ wormholes',
|
||||
info: 'Showing _START_ to _END_ of _TOTAL_ wormholes'
|
||||
},
|
||||
columnDefs: []
|
||||
columnDefs: [],
|
||||
data: null // use DOM data overwrites [] default -> data.loader.js
|
||||
});
|
||||
|
||||
$(this).find('.' + config.wormholeInfoJumpTableClass).DataTable({
|
||||
@@ -106,7 +107,8 @@ define([
|
||||
lengthMenu: 'Show _MENU_ wormholes',
|
||||
info: 'Showing _START_ to _END_ of _TOTAL_ wormholes'
|
||||
},
|
||||
columnDefs: []
|
||||
columnDefs: [],
|
||||
data: null // use DOM data overwrites [] default -> data.loader.js
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user