fhemweb.js: fix attr-filling for devicenames with dot (Forum #52070)

git-svn-id: https://svn.fhem.de/fhem/trunk@11277 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2016-04-18 09:58:20 +00:00
parent f55178159b
commit 848c70d36d

View File

@@ -202,7 +202,7 @@ FW_jqueryReadyFn()
.html('<a>'+$(this).html()+'</a>')
.css({cursor:"pointer"})
.click(function(){
var aname = "#sel_attr"+$(this).attr("data-name");
var aname = "#sel_attr"+$(this).attr("data-name").replace(/\./g,'_');
$(aname).val($(this).text());
FW_detailSelect(aname);
});