diff --git a/pandora_console/include/javascript/pandora_events.js b/pandora_console/include/javascript/pandora_events.js index bd9b6cfcb6..16d2ad4e0c 100644 --- a/pandora_console/include/javascript/pandora_events.js +++ b/pandora_console/include/javascript/pandora_events.js @@ -361,13 +361,8 @@ function perform_response(target, response_id) { timeout: 10000, dataType: 'html', success: function (data) { - if (data == '') { - $('#response_out').html('Unreachable host'); - } - else { - var out = data.replace(/[\n|\r]/g, "
"); - $('#response_out').html(out); - } + var out = data.replace(/[\n|\r]/g, "
"); + $('#response_out').html(out); $('#response_loading_command').hide(); $('#re_exec_command').show(); }