summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES1
-rw-r--r--lib/Smokeping/Graphs.pm2
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 84db612..22d97dd 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,4 @@
+* Fixed zooming mode in multi host graphs -- tobi
* Warn when smokeping uses takes over 80% of the time available for a polling cycle -- tobi
* don't complain when there is no data in a graph yet while calculation stddev -- tobi
* in a multihost graph take the number of pings for each component into consideration -- tobi
diff --git a/lib/Smokeping/Graphs.pm b/lib/Smokeping/Graphs.pm
index 895e3cb..ab8158c 100644
--- a/lib/Smokeping/Graphs.pm
+++ b/lib/Smokeping/Graphs.pm
@@ -288,6 +288,8 @@ sub get_multi_detail ($$$$;$){
. "<p>Time range: "
. $q->textfield(-name=>'start',-default=>$startstr)
. "&nbsp;&nbsp;to&nbsp;&nbsp;".$q->textfield(-name=>'end',-default=>$endstr)
+ . $q->hidden(-name=>'epoch_start',-id=>'epoch_start',-default=>$start)
+ . $q->hidden(-name=>'epoch_end',-id=>'epoch_end',-default=>time())
. $q->hidden(-name=>'target' )
. $q->hidden(-name=>'displaymode',-default=>$mode )
. "&nbsp;"