changeset 3037:c0d62e7f4fbc

PageGraphicalEditor: fixed deprecation of send_page(msg=)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 03 Feb 2008 21:21:52 +0100
parents fe0263c5d64c
children 07ab9d4b8bb8
files MoinMoin/PageGraphicalEditor.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/PageGraphicalEditor.py	Sun Feb 03 21:09:30 2008 +0100
+++ b/MoinMoin/PageGraphicalEditor.py	Sun Feb 03 21:21:52 2008 +0100
@@ -203,10 +203,10 @@
         status = ' '.join(status)
         status = Status(request, content=status)
 
+        request.theme.add_msg(status, "error")
         request.theme.send_title(
             title % {'pagename': self.split_title(), },
             page=self,
-            msg=status,
             html_head=self.lock.locktype and (
                 PageEditor._countdown_js % {
                      'countdown_script': request.theme.externalScript('countdown'),