From d33b072cba605adb6c3d04587092bdce4dbd1cf3 Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Fri, 5 Mar 2010 22:59:45 -0600 Subject: [PATCH] The Task of Sisyphus Correcting, and re-correcting the bugs in SVG-Edit. --- public/svg-edit/editor/svgcanvas.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/svg-edit/editor/svgcanvas.js b/public/svg-edit/editor/svgcanvas.js index bb93e96c..6b893dc4 100644 --- a/public/svg-edit/editor/svgcanvas.js +++ b/public/svg-edit/editor/svgcanvas.js @@ -989,7 +989,7 @@ function BatchCommand(text) { "xmlns:se": se_ns, "xmlns:xlink": xlinkns }).appendTo(svgroot); - if (randomize_ids) svgContent.setAttributeNS(se_ns, nonce); + if (randomize_ids) svgcontent.setAttributeNS(se_ns, 'se:nonce', nonce); var convertToNum, convertToUnit, setUnitAttr; @@ -1190,7 +1190,7 @@ function BatchCommand(text) { stroke: "#000000", stroke_paint: null, stroke_opacity: 1, - stroke_width: 5, + stroke_width: 2, stroke_style: 'none', opacity: 1 } @@ -5628,7 +5628,7 @@ function BatchCommand(text) { nonce = n; if (extensions["Arrows"]) call("setarrownonce", n) ; } 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); if (extensions["Arrows"]) call("setarrownonce", nonce) ; }