2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

fhemweb.js: Better help documentation from Thorsten (Forum #120779)

git-svn-id: https://svn.fhem.de/fhem/trunk@24379 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-05-04 08:04:29 +00:00
parent 4c2046b05a
commit 5c78dd7fd3

View File

@ -264,6 +264,7 @@ FW_jqueryReadyFn()
$(sel).append('<option value="'+attrName+'">'+attrName+'</option>');
$(sel).val(attrName);
FW_detailSelect(sel, true);
$(sel).trigger("change");
});
});
@ -374,6 +375,7 @@ FW_displayHelp(devName, sel, selType, val, level)
liTag = $(aTag).parent("li");
if(!$(liTag).length)
liTag = $(aTag).parent().next("li");
$("#devSpecHelp").remove(); // shown only one if FHEM is slow
if($(liTag).length) {
$(sel).closest("div[cmd='"+selType+"']")
.after('<div class="makeTable" id="devSpecHelp"></div>')