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:
William Desportes 2021-03-31 00:32:13 +02:00
parent 8773b23452
commit a7616feb1d
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -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,