changeset 485:8c21d7a8d4ec

SvgEditor: width changed to 100% for the object call
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 31 Jan 2010 23:02:48 +0100
parents a04fc9c5d76c
children e484ef64e7a0
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	Sun Jan 31 22:56:19 2010 +0100
+++ b/data/plugin/action/SvgEditor.py	Sun Jan 31 23:02:48 2010 +0100
@@ -105,7 +105,7 @@
         drawing_url = AttachFile.getAttachUrl(pagename, target, request, do='get')
         url = request.getQualifiedURL()
         base_url = "%s/svg-edit/editor/svg-editor.html" % (request.cfg.url_prefix_static)
-        html = u"""<object data="%s%s?url=%s" type="text/html" width="800" height="600"></object>\n""" % (url, base_url, drawing_url)
+        html = u"""<object data="%s%s?url=%s" type="text/html" width="100%%" height="600"></object>\n""" % (url, base_url, drawing_url)
         content = request.formatter.rawHTML(html)
         title = '%s %s:%s' % (_('Edit drawing'), pagename, target)
         request.theme.send_title(title, page=request.page, pagename=pagename)