mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-20 07:02:21 +01:00
Changed player-table error display
This commit is contained in:
parent
2fb979fc95
commit
4893c2dd5b
@ -288,10 +288,7 @@
|
||||
order: [[5, "desc"]]
|
||||
})
|
||||
} else if (error) {
|
||||
$('.player-table').DataTable({
|
||||
columns: [{title: "Error"}],
|
||||
data: [["Failed to load Players table data: " + error]]
|
||||
})
|
||||
$('.player-table').text("Failed to load Players table data: " + error);
|
||||
}
|
||||
});
|
||||
} catch (loadingError) {
|
||||
|
@ -1587,10 +1587,7 @@
|
||||
order: [[5, "desc"]]
|
||||
})
|
||||
} else if (error) {
|
||||
$('.player-table').DataTable({
|
||||
columns: [{title: "Error"}],
|
||||
data: [["Failed to load Players table data: " + error]]
|
||||
})
|
||||
$('.player-table').text("Failed to load Players table data: " + error);
|
||||
}
|
||||
});
|
||||
jsonRequest("../v1/kills?server=${serverName}", loadPlayerKills);
|
||||
|
Loading…
Reference in New Issue
Block a user