2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

01_FHWMWEB.pm: fix save config for smallscreen styles (Forum #136434)

git-svn-id: https://svn.fhem.de/fhem/trunk@28329 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2023-12-31 10:48:50 +00:00
parent cb8bfc6a12
commit acab5a6ba4

View File

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