diff MoinMoin/action/info.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 817d99d715fe
line wrap: on
line diff
--- a/MoinMoin/action/info.py	Sat Sep 13 10:34:43 2008 +0200
+++ b/MoinMoin/action/info.py	Sat Sep 13 15:12:14 2008 +0200
@@ -176,7 +176,7 @@
 
         div = html.DIV(id="page-history")
         div.append(html.INPUT(type="hidden", name="action", value="diff"))
-        div.append(history_table.render())
+        div.append(history_table.render(method="GET"))
 
         form = html.FORM(method="GET", action="")
         form.append(div)