Fixed error with setting image url

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@582 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Kevin Kwok
2009-09-04 23:13:15 +00:00
parent 83df0e1403
commit f349b4e91f
2 changed files with 5 additions and 2 deletions

View File

@@ -2839,7 +2839,7 @@ function BatchCommand(text) {
elem = canvas.quickClone(elem);
} else if (attr == "#href") {
var xlinkNS="http://www.w3.org/1999/xlink";
elem.setAttributeNS(xlinkNS, "href", val);
elem.setAttributeNS(xlinkNS, "href", newValue);
}
else elem.setAttribute(attr, newValue);
selectedBBoxes[i] = this.getBBox(elem);