diff --git a/pandora_console/include/javascript/pandora_taskList.js b/pandora_console/include/javascript/pandora_taskList.js index 8c8c7c180f..043203276c 100644 --- a/pandora_console/include/javascript/pandora_taskList.js +++ b/pandora_console/include/javascript/pandora_taskList.js @@ -50,12 +50,10 @@ function progress_task_list(id, title) { $elem.html(err_text); } if (data) { - data = data.replace( - '', - "" - ); + let split_data = data.split('{"html":'); + data = '{"html":' + split_data[1]; data = JSON.parse(data); - $elem.html(data.html); + $elem.html(data.html + " " + split_data[0]); } if (!$elem.dialog("isOpen")) $elem.dialog("open");