diff MoinMoin/action/Load.py @ 2966:ba14d391c2ba

Refactor all modules to use the new add_msg interface in 1.7 (done by Frederico Lorenzi). Should not be backported to 1.6 but instead the separate patch from http://code.google.com/p/google-highly-open-participation-moinmoin/issues/detail?id=51 should be used.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Sun, 23 Dec 2007 23:52:43 +0100
parents 01f05e74aa9c
children a739558ca3dc
line wrap: on
line diff
--- a/MoinMoin/action/Load.py	Sun Dec 23 23:51:55 2007 +0100
+++ b/MoinMoin/action/Load.py	Sun Dec 23 23:52:43 2007 +0100
@@ -105,7 +105,7 @@
             self.request.http_redirect(url)
             self.request.finish()
         else:
-            self.render_msg(self.make_form())
+            self.render_msg(self.make_form(), "dialog")
 
     def get_form_html(self, buttons_html):
         _ = self._