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

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2391 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-12-29 17:29:25 +00:00
parent d375bd8ded
commit e945d65de0

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");