diff MoinMoin/action/AttachFile.py @ 4093:742cabb168b9

browser._format: refactored input parameter "method". The default value is changed from "GET" to None. Now it does not add a form tag to the table on default. You have to give a value of "GET" or "POST" to add a form tag using the given method.
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 13 Sep 2008 15:12:14 +0200
parents 1008dd34b71c
children 62177a952833 2420b2aa34e8
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Sat Sep 13 10:34:43 2008 +0200
+++ b/MoinMoin/action/AttachFile.py	Sat Sep 13 15:12:14 2008 +0200
@@ -1107,7 +1107,7 @@
 
         browser = DataBrowserWidget(request)
         browser.setData(data)
-        return browser.render()
+        return browser.render(method="GET")
 
     return ''