From 25d2c05841f54a84a37e9f6e27ae3f8ee4051b3c Mon Sep 17 00:00:00 2001 From: ulimaass <> Date: Sun, 15 May 2016 14:17:21 +0000 Subject: [PATCH] 95_FLOORPLAN: fixed erroneous replacement of own devicename by actual devicename upon drag&drop git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11443 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/95_FLOORPLAN.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/FHEM/95_FLOORPLAN.pm b/FHEM/95_FLOORPLAN.pm index 72b91d2fd..c85e5ad72 100644 --- a/FHEM/95_FLOORPLAN.pm +++ b/FHEM/95_FLOORPLAN.pm @@ -52,12 +52,13 @@ # 0040: fixed "no commands for IT devices", drag&drop won't switch device-status anymore (June 15, 2015) # 0041: fixed eventmap, excess "delete"-messages during rereadconfig (Sept 24, 2015) # 0042: fixed log-errors, for commandref changed link to german installation guide in fhemwiki (Nov 21, 2015) +# 0043: fixed erroneous replacement of own devicename by actual devicename upon drag&drop (May 15,2016) # ################################################################ # # Copyright notice # -# (c) 2012-2015 Copyright: Ulrich Maass +# (c) 2012-2016 Copyright: Ulrich Maass # # This file is part of fhem. # @@ -582,8 +583,8 @@ FP_show(){ $left = 0 if (!$left); $style = 0 if (!$style); # start device-specific table - my $t1 = $text2 ? $text2 : " "; - my $t2 = $text ? $text : InternalVal($d,'NAME',' '); + my $t1 = $text ? $text : InternalVal($d,'NAME',' '); + my $t2 = $text2 ? $text2 : " "; # wrapper-div needed for floorplan_drag.js and for positioning FW_pO "\n