zwave_neighborlist.js: Fix multiple dots (Forum #60450)

git-svn-id: https://svn.fhem.de/fhem/trunk@12550 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2016-11-12 13:19:16 +00:00
parent 78fc115d5b
commit 807b6cf8cd

View File

@@ -203,7 +203,7 @@ zw_adjustLines(h, name)
var la = h[name].lines;
for(var i1=0; i1<la.length; i1++) {
var se = la[i1].split('-');
var attName = la[i1].replace(".", "\\.");
var attName = la[i1].replace(/\./g, "\\.");
if(la[i1].indexOf(name) == 0) { // we are the from line
var p = zw_calcPos(h[se[0]], h[se[1]]);
$("svg line[data-name="+attName+"]")