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

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

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();
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;
}