Add navigation buttons to fixedrange, if fixedrange is not a date but week/month/etc

git-svn-id: https://svn.fhem.de/fhem/trunk@2391 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-12-29 17:29:25 +00:00
parent 6395a6ed8b
commit a7dfe10a54

View File

@@ -2153,8 +2153,8 @@ FW_showWeblink($$$$)
# plots navigation buttons # plots navigation buttons
if($buttons && if($buttons &&
($defs{$d}{WLTYPE} eq "fileplot" || $defs{$d}{WLTYPE} eq "dbplot")&& ($defs{$d}{WLTYPE} eq "fileplot" || $defs{$d}{WLTYPE} eq "dbplot") &&
!AttrVal($d, "fixedrange", undef)) { AttrVal($d, "fixedrange", "x") !~ m/^[ 0-9:-]*$/) {
FW_zoomLink("zoom=-1", "Zoom-in", "zoom in"); FW_zoomLink("zoom=-1", "Zoom-in", "zoom in");
FW_zoomLink("zoom=1", "Zoom-out","zoom out"); FW_zoomLink("zoom=1", "Zoom-out","zoom out");