fhemweb.js: fix attr/set bug when using codemirror

git-svn-id: https://svn.fhem.de/fhem/trunk@13661 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2017-03-10 11:21:13 +00:00
parent c7d6dccc17
commit 211e4c0044

View File

@@ -632,7 +632,8 @@ FW_inlineModify() // Do not generate a new HTML page upon pressing modify
var cmd = $(this).attr("name")+"="+$(this).attr("value")+" "+newDef;
var isDef = true;
if( newDef == undefined ) {
if(newDef == undefined ||
$(this).attr("value").indexOf("modify") != 0) {
isDef = false;
var div = $(this).closest("div.makeSelect");
var devName = $(div).attr("dev"),