changeset 3351:55102b9ed091

action.diff: fixed disabling of "Next change" button
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 20 Mar 2008 16:00:13 +0100
parents 7707cd079690
children bbc4932e0fa7
files MoinMoin/action/diff.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/diff.py	Thu Mar 20 15:30:59 2008 +0100
+++ b/MoinMoin/action/diff.py	Thu Mar 20 16:00:13 2008 +0100
@@ -110,7 +110,7 @@
     revlist = currentpage.getRevList()
 
     # Revision list starts from 2...
-    if oldrev == min(revlist) + 1:
+    if oldrev == min(revlist):
         disable_prev = u' disabled="true"'
     else:
         disable_prev = u''