mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
Fixing room-div separation for FWEXT (floorplan)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3528 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a5a3bcc5fd
commit
5722c5a1cd
@ -940,18 +940,21 @@ FW_roomOverview($)
|
||||
if(!$FW_hiddenroom{save} && !$FW_hiddenroom{"Save config"}) {
|
||||
push(@list1, "Save config");
|
||||
push(@list2, "$FW_ME?cmd=save");
|
||||
push(@list1, ""); push(@list2, "");
|
||||
}
|
||||
|
||||
########################
|
||||
# Show FW Extensions in the menu
|
||||
if(defined($data{FWEXT})) {
|
||||
my $cnt = 0;
|
||||
foreach my $k (sort keys %{$data{FWEXT}}) {
|
||||
my $h = $data{FWEXT}{$k};
|
||||
next if($h !~ m/HASH/ || !$h->{LINK} || !$h->{NAME});
|
||||
push(@list1, $h->{NAME});
|
||||
push(@list2, $FW_ME ."/".$h->{LINK});
|
||||
$cnt++;
|
||||
}
|
||||
if(@list1 > 1) {
|
||||
if($cnt > 0) {
|
||||
push(@list1, ""); push(@list2, "");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user