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:
@@ -2154,7 +2154,7 @@ FW_showWeblink($$$$)
|
||||
# plots navigation buttons
|
||||
if($buttons &&
|
||||
($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-out","zoom out");
|
||||
|
||||
Reference in New Issue
Block a user