mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Merge branch '53-no-ejecuta-custom-responses' into 'develop'
Show unreachable host reponse when ping from custom responses - #53 See merge request !148
This commit is contained in:
parent
22a4424e5e
commit
c509d23a81
@ -359,7 +359,7 @@ function perform_response(target) {
|
|||||||
dataType: 'html',
|
dataType: 'html',
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
if (data == '') {
|
if (data == '') {
|
||||||
$('#response_out').html('<i>No output</i>');
|
$('#response_out').html('<i>Unreachable host</i>');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
var out = data.replace(/[\n|\r]/g, "<br>");
|
var out = data.replace(/[\n|\r]/g, "<br>");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user