FHEMWEB: set command with slider in detail view will be initialized with

reading of same name


git-svn-id: https://svn.fhem.de/fhem/trunk@4014 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-10-06 16:23:55 +00:00
parent fbe4f89b0a
commit 96e5dfc2a5

View File

@@ -174,8 +174,7 @@ FW_selChange(sel, list, elName)
if(elName.indexOf("val.set")==0) {
qArg = o.qArg;
eval(o.qFn.replace("%", ""));
// ??? Which readingsVal makes sense as set argument with the same name
//FW_queryValue('{ReadingsVal("'+devName+'","'+sel+'","")}', o.qFn, o.qArg);
FW_queryValue('{ReadingsVal("'+devName+'","'+sel+'","")}', o.qFn, o.qArg);
}
}
}