mirror of
https://github.com/fhem/fhem-mirror.git
synced 2024-11-22 09:49:50 +00:00
98_SVG.pm: typo, svg.js: longpollSVG dummy support (Forum #31859)
git-svn-id: https://svn.fhem.de/fhem/trunk@7615 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
34134e22e3
commit
93444b47c9
@ -1254,7 +1254,7 @@ SVG_render($$$$$$$$$;$$)
|
||||
# SVG Header
|
||||
my $svghdr = 'version="1.1" xmlns="http://www.w3.org/2000/svg" '.
|
||||
'xmlns:xlink="http://www.w3.org/1999/xlink" '.
|
||||
"id='SVGPLOT_$name'$filter";
|
||||
"id='SVGPLOT_$name' $filter";
|
||||
if(!$styleW) {
|
||||
SVG_pO '<?xml version="1.0" encoding="UTF-8"?>';
|
||||
SVG_pO '<!DOCTYPE svg>';
|
||||
|
@ -270,10 +270,12 @@ FW_svgUpdateDevs(devs)
|
||||
var flog = svg.firstChild.nextSibling.getAttribute("flog");
|
||||
if(!flog)
|
||||
continue;
|
||||
flog = flog.replace(/\\x3a/g, ".");
|
||||
log("longpollSVG filter:"+flog);
|
||||
for(var j=0; j < devs.length; j++) {
|
||||
var ev = devs[0]+":"+devs[1];
|
||||
if(ev.match(flog)) {
|
||||
log("longpollSVG: reload SVG");
|
||||
var e = embArr[i];
|
||||
var newE = document.createElement("embed");
|
||||
for(var k=0; k<e.attributes.length; k++)
|
||||
|
Loading…
Reference in New Issue
Block a user