Merge branch 'ent-2200-Unreachable-host-en-respuestas-de-eventos' into 'develop'

Removed unreachable host from events responses

See merge request artica/pandorafms!1450
This commit is contained in:
vgilc 2018-05-22 10:00:37 +02:00
commit 58370449dd
1 changed files with 2 additions and 7 deletions

View File

@ -361,13 +361,8 @@ function perform_response(target, response_id) {
timeout: 10000,
dataType: 'html',
success: function (data) {
if (data == '') {
$('#response_out').html('<i>Unreachable host</i>');
}
else {
var out = data.replace(/[\n|\r]/g, "<br>");
$('#response_out').html(out);
}
$('#response_loading_command').hide();
$('#re_exec_command').show();
}