1
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-04 22:19:38 +00:00

fhemweb.js: remove special state reading handling for JS widgets (Forum #60425)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12538 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-11-10 14:31:46 +00:00
parent 8585915dda
commit 9d82f34b47

View File

@ -892,9 +892,7 @@ FW_replaceWidget(oldEl, devName, vArr, currVal, reading, set, params, cmd)
$(newEl).addClass(wn+"_widget");
if( $(newEl).find("[informId]").length == 0 && !$(newEl).attr("informId") ) {
if(reading && reading == "state")
$(newEl).attr("informId", devName);
else if(reading)
if(reading)
$(newEl).attr("informId", devName+"-"+reading);
}