Update realtime_graphs.js

This commit is contained in:
Alejandro Gallardo Escobar 2018-08-20 09:53:11 +02:00
parent ad6a3d69e8
commit 28336d3e1a
1 changed files with 2 additions and 3 deletions

View File

@ -42,14 +42,13 @@
}
function requestData () {
var ajaxPath = $("#hidden-ajax_path").val();
var rel_path = $("#hidden-rel_path").val();
currentXHR = $.ajax({
url: ajaxPath,
url: rel_path + "extensions/realtime_graphs/ajax.php",
type: "POST",
dataType: "json",
data: {
page: "extensions/realtime_graphs/ajax",
graph: $('#graph :selected').val(),
graph_title: $('#graph :selected').html(),
snmp_community: $('#text-snmp_community').val(),