mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
fhemweb.js: help uses the first matching data-pattern found (Forum #127354)
git-svn-id: https://svn.fhem.de/fhem/trunk@25982 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
55aa67279d
commit
3c7567eb56
@ -373,7 +373,7 @@ FW_displayHelp(devName, sel, selType, val, group)
|
||||
if(!$(aTag).length) { // regexp attributes, like backend_.*
|
||||
wb.find("a[id^='"+mtype+"-"+selType+"-'][data-pattern]").each(
|
||||
function() {
|
||||
if(val.match($(this).attr("data-pattern")))
|
||||
if(!$(aTag).length && val.match($(this).attr("data-pattern")))
|
||||
aTag = this;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user