Mercurial > moin > extensions
changeset 127:6f578becaf71
text_x_arnica: removed GET exchange to POST because of internal _DataBrowserWidget.format()
author | Reimar Bauer <rb.proj AT googlemail DOT com> |
---|---|
date | Sun, 29 Jun 2008 09:39:18 +0200 |
parents | 02a3e2fba89f |
children | eeee3b6cd853 |
files | data/plugin/parser/text_x_arnica.py |
diffstat | 1 files changed, 2 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py Sun Jun 29 09:29:51 2008 +0200 +++ b/data/plugin/parser/text_x_arnica.py Sun Jun 29 09:39:18 2008 +0200 @@ -630,15 +630,10 @@ # adds the last row if it is not filled up if result: data.addRow(tuple(result)) + browser = _DataBrowserWidget(self.request, show_header=False) browser.setData(data) - - text = browser.format() - # XXX browser.format needs to get configurable for choosing the method - # ugly workaroound - # if this is not POST the slide_show actioon does send it's data by GET - text = text.replace('method="GET"', 'method="POST"') - return text + return browser.format() def format(self, formatter): """ parser output """