changeset 644:9661092d0444

svg-edit: disable edit on click for SvgEditor use the Action macro instead or go to the attachments form
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 05 Feb 2015 18:38:39 +0100
parents 83a72e8025ab
children b3c95c5e8630
files data/plugin/action/SvgEditor.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/SvgEditor.py	Thu Feb 05 18:21:10 2015 +0100
+++ b/data/plugin/action/SvgEditor.py	Thu Feb 05 18:38:39 2015 +0100
@@ -60,7 +60,7 @@
     p = Parser("##\n", self.request)
     m = macro.Macro(p)
     img = m.execute('EmbedObject', u'target=%s' % drawing)
-    return self.url(1, drawing_url) + img + self.url(0)
+    return img
 
 class SvgEditor(object):
     """ svg-edit action """