Commit b4bd110 1 parent 91600dd commit b4bd110 Copy full SHA for b4bd110
File tree 13 files changed +13
-13
lines changed
server/monitor/src/main/resources/org/apache/accumulo/monitor
13 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function refresh() {
38
38
/**
39
39
* Initializes the bulk import DataTables
40
40
*/
41
- $ ( document ) . ready ( function ( ) {
41
+ $ ( function ( ) {
42
42
43
43
const url = '/rest/bulkImports' ;
44
44
console . debug ( 'REST url used to fetch data for the DataTables in bulkImport.js: ' + url ) ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ var compactionsList;
22
22
/**
23
23
* Creates active compactions table
24
24
*/
25
- $ ( document ) . ready ( function ( ) {
25
+ $ ( function ( ) {
26
26
// Create a table for compactions list
27
27
compactionsList = $ ( '#compactionsList' ) . DataTable ( {
28
28
"ajax" : {
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ var runningTableData;
27
27
/**
28
28
* Creates active compactions table
29
29
*/
30
- $ ( document ) . ready ( function ( ) {
30
+ $ ( function ( ) {
31
31
if ( sessionStorage . ecDetailsJSON === undefined ) {
32
32
sessionStorage . ecDetailsJSON = JSON . stringify ( [ ] ) ;
33
33
}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ var gcTable;
22
22
/**
23
23
* Creates active compactions table
24
24
*/
25
- $ ( document ) . ready ( function ( ) {
25
+ $ ( function ( ) {
26
26
// Create a table for compactions list
27
27
gcTable = $ ( '#gcActivity' ) . DataTable ( {
28
28
"ajax" : {
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ function refreshManagerTables() {
90
90
/**
91
91
* Creates initial tables
92
92
*/
93
- $ ( document ) . ready ( function ( ) {
93
+ $ ( function ( ) {
94
94
95
95
// Generates the manager table
96
96
managerStatusTable = $ ( '#managerStatus' ) . DataTable ( {
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ function updateServerNotifications(statusData) {
122
122
/**
123
123
* Creates the initial sidebar
124
124
*/
125
- $ ( document ) . ready ( function ( ) {
125
+ $ ( function ( ) {
126
126
refreshSidebar ( ) ;
127
127
} ) ;
128
128
Original file line number Diff line number Diff line change 21
21
/**
22
22
* Creates overview initial table
23
23
*/
24
- $ ( document ) . ready ( function ( ) {
24
+ $ ( function ( ) {
25
25
refreshOverview ( ) ;
26
26
} ) ;
27
27
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ var scansList;
23
23
/**
24
24
* Creates scans initial table
25
25
*/
26
- $ ( document ) . ready ( function ( ) {
26
+ $ ( function ( ) {
27
27
// Create a table for scans list
28
28
scansList = $ ( '#scansList' ) . DataTable ( {
29
29
"ajax" : {
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ function updateSystemAlerts() {
154
154
updateManagerAlerts ( ) ;
155
155
}
156
156
157
- $ ( document ) . ready ( function ( ) {
157
+ $ ( function ( ) {
158
158
159
159
// dismiss the alert when clicked
160
160
$ ( '#systemAlertCloseButton' ) . click ( function ( ) {
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ function clearDeadTServers(server) {
129
129
/**
130
130
* Creates initial tables
131
131
*/
132
- $ ( document ) . ready ( function ( ) {
132
+ $ ( function ( ) {
133
133
134
134
refreshRecoveryList ( ) ;
135
135
Original file line number Diff line number Diff line change 19
19
20
20
-->
21
21
<script >
22
- $ (document ). ready ( function () {
22
+ $ (function () {
23
23
// initialize DataTables
24
24
initServerTables (' ${server}' );
25
25
});
Original file line number Diff line number Diff line change 22
22
/* *
23
23
* Creates participating Tservers initial table, passes the tableID from the template
24
24
*/
25
- $ (document ). ready ( function () {
25
+ $ (function () {
26
26
initTableServerTable (' ${tableID}' );
27
27
});
28
28
</script >
Original file line number Diff line number Diff line change 25
25
* - uses ajax call for data source and saves sort state in session
26
26
* - defines custom number formats
27
27
*/
28
- $ (document ). ready ( function () {
28
+ $ (function () {
29
29
30
30
tableList = $ (' #tableList' ).DataTable ({
31
31
" ajax" : {
You can’t perform that action at this time.
0 commit comments