Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
this one is no longer in use
  • Loading branch information
sni committed Jul 1, 2023
1 parent 4375c24 commit 297c2e7
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions root/thruk/javascript/thruk-3.06.js
Original file line number Diff line number Diff line change
Expand Up @@ -4156,28 +4156,6 @@ function show_plugin_output_popup(target, host, service, backend, escape_html, o
});
}

function fetch_long_plugin_output(target, host, service, backend, escape_html) {
jQuery('.long_plugin_output').html("<div class='spinner w-8 h-8'><\/div>");
var url = url_prefix+'cgi-bin/status.cgi?long_plugin_output=1';
if(escape_html) {
jQuery.post(url, {
host: host,
service: svc,
backend: peer_key
}, function(text, status, req) {
text = jQuery("<div>").text(text).html().replace(/\\n/g, "<br>");
jQuery('.long_plugin_output').html(text)
});
} else {
jQuery('.long_plugin_output').load(url, {
host: host,
service: svc,
backend: peer_key
}, function(text, status, req) {
});
}
}

/* callback to show service (or host) popup */
function fetch_svc_info_popup(el, host, svc, peer_key) {
jQuery('.service_popup_content').html("<div class='spinner w-10 h-10 border-4'><\/div>");
Expand Down

0 comments on commit 297c2e7

Please sign in to comment.