2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-18 05:56:03 +00:00

FHEMWEB: smallscreen select bug fixed (Hint by Joerg)

git-svn-id: https://svn.fhem.de/fhem/trunk@4466 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-12-26 16:55:03 +00:00
parent d10464447d
commit 8d2c182d89

View File

@ -1030,7 +1030,7 @@ FW_roomOverview($)
foreach(my $idx = 0; $idx < @list1; $idx++) {
next if(!$list1[$idx]);
my $sel = ($list1[$idx] eq $FW_room ? " selected=\"selected\"" : "");
FW_pO "<option value='$list2[$idx]$sel'>$list1[$idx]</option>";
FW_pO "<option value='$list2[$idx]'$sel>$list1[$idx]</option>";
}
FW_pO "</select></td>";
FW_pO "</tr>";