mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-15 03:59:11 +00:00
fhemweb.js: add title for non-state webCmd widgets
git-svn-id: https://svn.fhem.de/fhem/trunk@13887 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
020a8a50b9
commit
ff330082c9
@ -1059,6 +1059,8 @@ FW_replaceWidget(oldEl, devName, vArr, currVal, reading, set, params, cmd)
|
||||
if( $(newEl).find("[informId]").length == 0 && !$(newEl).attr("informId") ) {
|
||||
if(reading)
|
||||
$(newEl).attr("informId", devName+"-"+reading);
|
||||
if(reading != "state")
|
||||
$(newEl).attr("title", reading);
|
||||
}
|
||||
|
||||
$(oldEl).replaceWith(newEl);
|
||||
|
Loading…
x
Reference in New Issue
Block a user