Fixed bug in agent graph view

This commit is contained in:
manuel.montes 2018-11-12 10:45:50 +01:00
parent 0dd6c54651
commit 69df02da48
2 changed files with 4 additions and 4 deletions

View File

@ -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 :(

View File

@ -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;