Merge branch '2939-Bug-en-la-vista-de-graficas-de-un-agente' into 'develop'

Fixed bug in agent graph view

See merge request artica/pandorafms!1955
This commit is contained in:
vgilc 2018-11-30 13:07:03 +01:00
commit 5a3911d185
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

@ -1874,7 +1874,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;
@ -2331,7 +2331,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;