Noncy bugs fixed.

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1447 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jacques Distler 2010-03-06 05:04:15 +00:00
parent fde7386d75
commit 7b5b7c4fdf
1 changed files with 2 additions and 2 deletions

View File

@ -989,7 +989,7 @@ function BatchCommand(text) {
"xmlns:se": se_ns, "xmlns:se": se_ns,
"xmlns:xlink": xlinkns "xmlns:xlink": xlinkns
}).appendTo(svgroot); }).appendTo(svgroot);
if (randomize_ids) svgContent.setAttributeNS(se_ns, nonce); if (randomize_ids) svgcontent.setAttributeNS(se_ns, 'se:nonce', nonce);
var convertToNum, convertToUnit, setUnitAttr; var convertToNum, convertToUnit, setUnitAttr;
@ -5629,7 +5629,7 @@ function BatchCommand(text) {
nonce = n; nonce = n;
if (extensions["Arrows"]) call("setarrownonce", n) ; if (extensions["Arrows"]) call("setarrownonce", n) ;
} else if (randomize_ids) { } else if (randomize_ids) {
svgcontent.setAttributeNS(xmlnsns, 'xml:se', se_ns); svgcontent.setAttributeNS(xmlnsns, 'xmlns:se', se_ns);
svgcontent.setAttributeNS(se_ns, 'se:nonce', nonce); svgcontent.setAttributeNS(se_ns, 'se:nonce', nonce);
if (extensions["Arrows"]) call("setarrownonce", nonce) ; if (extensions["Arrows"]) call("setarrownonce", nonce) ;
} }