Fixed bug where attributes were being removed from gradient element on serialization in Opera

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1454 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2010-03-10 19:03:05 +00:00
parent f3cd0157cf
commit 38a244bcc6
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* jGraduate 0.4.x
* jGraduate 0.3.x
*
* jQuery Plugin for a gradient picker
*

View File

@ -1608,7 +1608,7 @@ function BatchCommand(text) {
// map various namespaces to our fixed namespace prefixes
// (the default xmlns attribute itself does not get a prefix)
if(!attr.namespaceURI || nsMap[attr.namespaceURI]) {
if(!attr.namespaceURI || attr.namespaceURI == svgns || nsMap[attr.namespaceURI]) {
out.push(attr.nodeName); out.push("=\"");
out.push(attrVal); out.push("\"");
}