2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

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 54a5af7496
commit 6351d79272

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