mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-09 13:45:33 +00:00
01_FHEMWEB.pm: fix dashboard error message with smallscreen style (Forum #16503)
git-svn-id: https://svn.fhem.de/fhem/trunk@15111 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1c1af7f7a2
commit
3746437ef3
@ -1584,7 +1584,8 @@ 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]$FW_CSRF'$sel>$list1[$idx]</option>";
|
||||
my $csrf = ($list2[$idx] =~ m/cmd=/ ? $FW_CSRF : '');
|
||||
FW_pO "<option value='$list2[$idx]$csrf'$sel>$list1[$idx]</option>";
|
||||
}
|
||||
FW_pO "</select></td>";
|
||||
FW_pO "</tr>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user