2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 17:26:34 +00:00

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 f0e30f266e
commit bb2be0901b

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"),