fhemweb.js: fix PSC set for select (Forum #70813)

git-svn-id: https://svn.fhem.de/fhem/trunk@14057 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2017-04-21 08:30:42 +00:00
parent e106cfefed
commit 5bb0ac3cd6

View File

@@ -656,7 +656,7 @@ FW_inlineModify() // Do not generate a new HTML page upon pressing modify
} }
newDef = $(this).closest("form").find("input:text").val(); newDef = $(this).closest("form").find("input:text").val();
if(newDef == undefined) if(newDef == undefined)
newDef = $(this).closest("form").find("input[name^=val]").val(); newDef = $(this).closest("form").find("[name^=val]").val();
cmd = $(this).attr("name")+"="+cmd+" "+devName+" "+arg+" "+newDef; cmd = $(this).attr("name")+"="+cmd+" "+devName+" "+arg+" "+newDef;
} }