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-75d572ba1dddmaster
parent
f3cd0157cf
commit
38a244bcc6
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* jGraduate 0.4.x
|
||||
* jGraduate 0.3.x
|
||||
*
|
||||
* jQuery Plugin for a gradient picker
|
||||
*
|
||||
|
|
|
@ -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("\"");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue