Correction for r2497 - namespace had changed from 2.6 branch, sorry, didn't spot it
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2498 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -4729,7 +4729,7 @@ this.setSvgString = function(xmlString) {
|
|||||||
if (m) {
|
if (m) {
|
||||||
var url = decodeURIComponent(m[1]);
|
var url = decodeURIComponent(m[1]);
|
||||||
$(new Image()).load(function () {
|
$(new Image()).load(function () {
|
||||||
image.setAttributeNS(xlinkns, 'xlink:href', url);
|
image.setAttributeNS(NS.XLINK, 'xlink:href', url);
|
||||||
}).attr('src', url);
|
}).attr('src', url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user