From 69df02da48621185170c1839bd2661e80dbc9a69 Mon Sep 17 00:00:00 2001 From: "manuel.montes" Date: Mon, 12 Nov 2018 10:45:50 +0100 Subject: [PATCH] Fixed bug in agent graph view --- .../include/graphs/flot/jquery.flot.exportdata.pandora.js | 4 ++-- pandora_console/include/graphs/flot/pandora.flot.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pandora_console/include/graphs/flot/jquery.flot.exportdata.pandora.js b/pandora_console/include/graphs/flot/jquery.flot.exportdata.pandora.js index d5ad78cf05..781c1d1cc0 100644 --- a/pandora_console/include/graphs/flot/jquery.flot.exportdata.pandora.js +++ b/pandora_console/include/graphs/flot/jquery.flot.exportdata.pandora.js @@ -204,7 +204,7 @@ $form .prop('method', 'POST') - .prop('action', plot.getOptions().export.homeurl + '/include/graphs/export_data.php') + .prop('action', plot.getOptions().export.homeurl + 'include/graphs/export_data.php') .append($dataInput, $typeInput, $separatorInput, $excelInput) .hide() // Firefox made me write into the DOM for this :( @@ -394,7 +394,7 @@ $form .prop('method', 'POST') - .prop('action', plot.getOptions().export.homeurl + '/include/graphs/export_data.php') + .prop('action', plot.getOptions().export.homeurl + 'include/graphs/export_data.php') .append($dataInput, $typeInput, $separatorInput, $excelInput) .hide() // Firefox made me write into the DOM for this :( diff --git a/pandora_console/include/graphs/flot/pandora.flot.js b/pandora_console/include/graphs/flot/pandora.flot.js index e2b606f709..2eea7f793f 100644 --- a/pandora_console/include/graphs/flot/pandora.flot.js +++ b/pandora_console/include/graphs/flot/pandora.flot.js @@ -1873,7 +1873,7 @@ function pandoraFlotArea( graph_id, values, legend, })); } - $('#menu_cancelzoom_' + graph_id).attr('src', homeurl + '/images/zoom_cross_grey.png'); + $('#menu_cancelzoom_' + graph_id).attr('src', homeurl + 'images/zoom_cross_grey.png'); max_draw['max'] = ranges.yaxis.to; max_draw['min'] = ranges.yaxis.from; @@ -2330,7 +2330,7 @@ function pandoraFlotArea( graph_id, values, legend, legend: { show: true } })); $('#menu_cancelzoom_' + graph_id) - .attr('src', homeurl + '/images/zoom_cross.disabled.png'); + .attr('src', homeurl + 'images/zoom_cross.disabled.png'); overview.clearSelection(); currentRanges = null; thresholded = false;