mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
95_FLOORPLAN: fixed erroneous replacement of own devicename by actual devicename upon drag&drop
git-svn-id: https://svn.fhem.de/fhem/trunk@11443 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5bb93415e2
commit
3f84525c4a
@ -52,12 +52,13 @@
|
|||||||
# 0040: fixed "no commands for IT devices", drag&drop won't switch device-status anymore (June 15, 2015)
|
# 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)
|
# 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)
|
# 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
|
# Copyright notice
|
||||||
#
|
#
|
||||||
# (c) 2012-2015 Copyright: Ulrich Maass
|
# (c) 2012-2016 Copyright: Ulrich Maass
|
||||||
#
|
#
|
||||||
# This file is part of fhem.
|
# This file is part of fhem.
|
||||||
#
|
#
|
||||||
@ -582,8 +583,8 @@ FP_show(){
|
|||||||
$left = 0 if (!$left);
|
$left = 0 if (!$left);
|
||||||
$style = 0 if (!$style);
|
$style = 0 if (!$style);
|
||||||
# start device-specific table
|
# start device-specific table
|
||||||
my $t1 = $text2 ? $text2 : " ";
|
my $t1 = $text ? $text : InternalVal($d,'NAME',' ');
|
||||||
my $t2 = $text ? $text : InternalVal($d,'NAME',' ');
|
my $t2 = $text2 ? $text2 : " ";
|
||||||
# wrapper-div needed for floorplan_drag.js and for positioning
|
# wrapper-div needed for floorplan_drag.js and for positioning
|
||||||
FW_pO "\n<div fp_style=\"$style\" fp_text=\"$t1\" fp_text2=\"$t2\" fp_name=\"$FP_name\" class=\"fp_device_div\" style=\"position:absolute; top:".$top."px; left:".$left."px;\" id=\"div-$d\">";
|
FW_pO "\n<div fp_style=\"$style\" fp_text=\"$t1\" fp_text2=\"$t2\" fp_name=\"$FP_name\" class=\"fp_device_div\" style=\"position:absolute; top:".$top."px; left:".$left."px;\" id=\"div-$d\">";
|
||||||
FW_pO "<form method=\"$FW_formmethod\" action=\"$FW_ME/floorplan/$FP_name/$d\" autocomplete=\"off\">";
|
FW_pO "<form method=\"$FW_formmethod\" action=\"$FW_ME/floorplan/$FP_name/$d\" autocomplete=\"off\">";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user