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

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 73ea670d37
commit d6561bbb80

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+"]")