Fix #16756 - Casing returns from the server when the processes are automatically refreshed
Fixes: #16756 Make the request use the right endpoint in refresh mode Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
8773b23452
commit
a7616feb1d
@ -77,8 +77,6 @@ var processList = {
|
||||
/**
|
||||
* Handles Auto Refreshing
|
||||
*
|
||||
* @param object the event object
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
refresh: function () {
|
||||
@ -89,6 +87,8 @@ var processList = {
|
||||
processList.abortRefresh();
|
||||
// if auto refresh is enabled
|
||||
if (processList.autoRefresh) {
|
||||
// Only fetch the table contents
|
||||
processList.refreshUrl = 'index.php?route=/server/status/processes/refresh';
|
||||
var interval = parseInt(processList.refreshInterval, 10) * 1000;
|
||||
var urlParams = processList.getUrlParams();
|
||||
processList.refreshRequest = $.post(processList.refreshUrl,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user