mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
01_FHEMWEB.pm: put own module attributes to the top of the list (Forum #124538)
git-svn-id: https://svn.fhem.de/fhem/trunk@25309 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8b634a6c12
commit
738018d9fd
@ -2304,6 +2304,7 @@ FW_select($$$$$@)
|
||||
next if($processed{$v});
|
||||
if($typeHash) {
|
||||
my $newType = $typeHash->{$v};
|
||||
$newType =~ s/^#//; #124538, see also getAllAttr
|
||||
if($newType ne $oldType) {
|
||||
$s .= "</optgroup>" if($oldType);
|
||||
$s .= "<optgroup label='$newType'>" if($newType);
|
||||
|
@ -2806,9 +2806,9 @@ getAllAttr($;$$)
|
||||
|
||||
&$add($AttrList, "framework");
|
||||
if($defs{$d}{".AttrList"}) {
|
||||
&$add($defs{$d}{".AttrList"}, $defs{$d}{TYPE});
|
||||
&$add($defs{$d}{".AttrList"}, "#".$defs{$d}{TYPE}); #124538
|
||||
} else {
|
||||
&$add($modules{$defs{$d}{TYPE}}{AttrList}, $defs{$d}{TYPE});
|
||||
&$add($modules{$defs{$d}{TYPE}}{AttrList}, "#".$defs{$d}{TYPE});
|
||||
}
|
||||
|
||||
my $nl2space = sub($$)
|
||||
|
Loading…
x
Reference in New Issue
Block a user