summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-09-16 20:38:36 +0200
committerTobi Oetiker <tobi@oetiker.ch>2007-09-16 20:38:36 +0200
commit303af5df15b6fabfb56cfb12482fef9809873f09 (patch)
treebb9729f374c673ba3589ef880444ba2ffb790a17
parent823350a44e048d358bb7545eca95d2c43b447105 (diff)
downloadsmokeping-303af5df15b6fabfb56cfb12482fef9809873f09.tar.gz
smokeping-303af5df15b6fabfb56cfb12482fef9809873f09.tar.xz
added missing hidden fields to zooming graph
-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;"