From d9e5b797f4330cec2b040ffbdfbdf15de3c56182 Mon Sep 17 00:00:00 2001 From: Jonny Bradley Date: Sat, 16 Mar 2013 14:11:43 +0000 Subject: [PATCH] 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 --- editor/svgcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index a33cdfb0..c753ded4 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -4729,7 +4729,7 @@ this.setSvgString = function(xmlString) { if (m) { var url = decodeURIComponent(m[1]); $(new Image()).load(function () { - image.setAttributeNS(xlinkns, 'xlink:href', url); + image.setAttributeNS(NS.XLINK, 'xlink:href', url); }).attr('src', url); } }