#12691 added button submit in realtime_graph

This commit is contained in:
Daniel Cebrian 2024-03-15 10:22:30 +01:00
parent 6a1eeb467f
commit 0b419d84be
2 changed files with 9 additions and 4 deletions

View File

@ -196,6 +196,15 @@ function pandora_realtime_graphs()
[
'class' => 'action-buttons',
'content' => html_print_submit_button(
__('Filter'),
'filterbutton',
false,
[
'icon' => 'search',
'mode' => 'mini',
],
true
).html_print_submit_button(
__('Clear graph'),
'srcbutton',
false,

View File

@ -160,10 +160,6 @@
return +(Math.round(num + "e+2") + "e-2");
}
$("#graph").change(function() {
$("form#realgraph").submit();
});
$("#refresh").change(function() {
refresh = parseInt($("#refresh").val());
resetDataPooling();