mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
Patch by Matthias to show IODev
git-svn-id: https://svn.fhem.de/fhem/trunk@2336 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4167903958
commit
a9047496b2
@ -715,11 +715,14 @@ FW_makeTable($$@)
|
||||
|
||||
my $row = 1;
|
||||
foreach my $n (sort keys %{$hash}) {
|
||||
my $r = ref($hash->{$n});
|
||||
my $val = $hash->{$n};
|
||||
$val = $hash->{$n}{NAME} if($n eq "IODev" && ref($val) eq "HASH" && defined($hash->{$n}{NAME}));
|
||||
|
||||
my $r = ref($val);
|
||||
next if($r && ($r ne "HASH" || !defined($hash->{$n}{VAL})));
|
||||
|
||||
pF "<tr class=\"%s\">", ($row&1)?"odd":"even";
|
||||
$row++;
|
||||
my $val = $hash->{$n};
|
||||
|
||||
if($n eq "DEF" && !$FW_hiddenroom{input}) {
|
||||
FW_makeEdit($name, $n, $val);
|
||||
|
Loading…
x
Reference in New Issue
Block a user