#12691 added button submit in realtime_graph
This commit is contained in:
parent
6a1eeb467f
commit
0b419d84be
|
@ -196,6 +196,15 @@ function pandora_realtime_graphs()
|
||||||
[
|
[
|
||||||
'class' => 'action-buttons',
|
'class' => 'action-buttons',
|
||||||
'content' => html_print_submit_button(
|
'content' => html_print_submit_button(
|
||||||
|
__('Filter'),
|
||||||
|
'filterbutton',
|
||||||
|
false,
|
||||||
|
[
|
||||||
|
'icon' => 'search',
|
||||||
|
'mode' => 'mini',
|
||||||
|
],
|
||||||
|
true
|
||||||
|
).html_print_submit_button(
|
||||||
__('Clear graph'),
|
__('Clear graph'),
|
||||||
'srcbutton',
|
'srcbutton',
|
||||||
false,
|
false,
|
||||||
|
|
|
@ -160,10 +160,6 @@
|
||||||
return +(Math.round(num + "e+2") + "e-2");
|
return +(Math.round(num + "e+2") + "e-2");
|
||||||
}
|
}
|
||||||
|
|
||||||
$("#graph").change(function() {
|
|
||||||
$("form#realgraph").submit();
|
|
||||||
});
|
|
||||||
|
|
||||||
$("#refresh").change(function() {
|
$("#refresh").change(function() {
|
||||||
refresh = parseInt($("#refresh").val());
|
refresh = parseInt($("#refresh").val());
|
||||||
resetDataPooling();
|
resetDataPooling();
|
||||||
|
|
Loading…
Reference in New Issue