changeset 190:45fcfc007160

arnica_slides: option_list bug fixed
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 18 Jul 2008 12:58:12 +0200
parents 5edba1f921b7
children c3c8fa389ee3
files data/plugin/action/arnica_slides.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/arnica_slides.py	Fri Jul 18 00:45:51 2008 +0200
+++ b/data/plugin/action/arnica_slides.py	Fri Jul 18 12:58:12 2008 +0200
@@ -288,7 +288,7 @@
             url = AttachFile.getAttachUrl(pagename, filename, request)
             prefix = ''
 
-        options.append('<option%s value="%(name)s">%(prefix)s %(alias)s' % {
+        options.append('<option%(selected)s value="%(name)s">%(prefix)s %(alias)s' % {
             "selected": (url == this_image) and ' selected' or '',
             "name": this_image,
             "prefix": prefix,