changeset 641:f5c59bc42966

svg-edit: another place to set target=_blank for XLINK
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 05 Feb 2015 17:24:40 +0100
parents d16f7c8e426a
children 2f92ba747158
files htdocs/svg-edit/editor/svgutils.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/htdocs/svg-edit/editor/svgutils.js	Thu Feb 05 17:12:44 2015 +0100
+++ b/htdocs/svg-edit/editor/svgutils.js	Thu Feb 05 17:24:40 2015 +0100
@@ -665,6 +665,7 @@
 
 		if(ns) {
 			node.setAttributeNS(ns, i, attrs[i]);
+            node.setAttributeNS(NS.XLINK, 'target', '_blank')
 		} else if(!unitCheck) {
 			node.setAttribute(i, attrs[i]);
 		} else {