2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-27 20:34:52 +00:00

fhemweb.js: simplify searching for the module (Forum #120779)

git-svn-id: https://svn.fhem.de/fhem/trunk@24716 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-07-09 17:32:11 +00:00
parent 5a65f99358
commit 56e2f189d7

View File

@ -340,10 +340,7 @@ FW_displayHelp(devName, sel, selType, val, group)
if(group) {
if(group.indexOf("userattr") >= 0)
return;
if(group == "framework")
devName = "commandref";
else if(group != "Module")
devName = group;
devName = (group == "framework" ? "commandref" : group);
}
FW_getHelp(devName, function(data) { // show either the next or the outer li