changeset 1860:05c604c55b33

PageEditor:after successfull saving request.rev need to be increased to get actions on #preview pages using the right revision
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 08 Mar 2007 23:58:34 +0100
parents 327b23c27532
children f2706da26773
files MoinMoin/PageEditor.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/PageEditor.py	Thu Mar 08 18:02:43 2007 +0100
+++ b/MoinMoin/PageEditor.py	Thu Mar 08 23:58:34 2007 +0100
@@ -1133,6 +1133,7 @@
         # save only if no error occurred (msg is empty)
         if not msg:
             # set success msg
+            request.rev += 1
             msg = _("Thank you for your changes. Your attention to detail is appreciated.")
 
             # determine action for edit log