Merge branch 'ent-2555-fix-incremental-realtime-charts' into 'develop'

Fix the incremental realtime charts

See merge request artica/pandorafms!1701
This commit is contained in:
vgilc 2018-08-20 12:41:53 +02:00
commit 2d00bbe50a
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(),