From 1dc8ec486b1a41807a2451067076b58db3a19d1e Mon Sep 17 00:00:00 2001 From: ulimaass <> Date: Sat, 25 May 2013 12:38:00 +0000 Subject: [PATCH] bugfix: webCmdfn (slider, timepicker, dropdown) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3220 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/95_FLOORPLAN.pm | 96 +++++++++++++------------------------------- 1 file changed, 28 insertions(+), 68 deletions(-) diff --git a/FHEM/95_FLOORPLAN.pm b/FHEM/95_FLOORPLAN.pm index 3ebb9640c..a92e4b064 100644 --- a/FHEM/95_FLOORPLAN.pm +++ b/FHEM/95_FLOORPLAN.pm @@ -33,7 +33,8 @@ # 0022: longpoll by Matthias Gehre (November 27, 2012) # 0023: longpoll updates readings also - by Matthias Gehre; FW_longpoll is now a global variable (January 21, 2013) # 0024: fix for readings longpoll, added js-extension from Dirk (February 16, 2013) -# 0025: Added fp_viewport-attribute from (March 03, 2013) +# 0025: Added fp_viewport-attribute from Jens (March 03, 2013) +# 0026: Adapted to FHEMWEB-changes re webCmdFn - fp_setbutton not functional (May 23, 2013) # ################################################################ # @@ -415,7 +416,7 @@ FP_show(){ foreach my $d (sort keys %defs) { # loop all devices my $type = $defs{$d}{TYPE}; my $attr = AttrVal("$d","fp_$FP_name", undef); - next if(!$attr || $type eq "weblink"); # skip if device-attribute not set for current floorplan-name + next if(!$attr || $type eq "weblink"); # skip if device-attribute not set for current floorplan-name my ($top, $left, $style, $text, $text2) = split(/,/ , $attr); # $top = position in px, top @@ -428,23 +429,22 @@ FP_show(){ FW_pO "\n