From 02425de80507a0b38b409ffa6d81d08287f37409 Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Wed, 17 Feb 2010 18:15:53 +0000 Subject: [PATCH] Make xmlns:foo test go green in Opera git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1404 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index e0aa0f9f..21346b91 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -1345,7 +1345,7 @@ function BatchCommand(text) { if(attrName.indexOf('se:') == 0) { se_attrs.push([attrName, attr.nodeValue]); } - node.removeAttribute(attrName); + node.removeAttributeNS(attrNsURI, attrLocalName); } // special handling for path d attribute if (node.nodeName == 'path' && attrName == 'd') {