dabo Commit
Revision 6379
Date: 2011-02-03 10:19:00 -0800 (Thu, 03 Feb 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6379
Changed:
U trunk/dabo/lib/datanav/PageFrame.py
Log:
Changed per Jacek's request in ticket #1200
Diff:
Modified: trunk/dabo/lib/datanav/PageFrame.py
===================================================================
--- trunk/dabo/lib/datanav/PageFrame.py 2011-02-02 21:12:54 UTC (rev 6378)
+++ trunk/dabo/lib/datanav/PageFrame.py 2011-02-03 18:19:00 UTC (rev 6379)
@@ -19,7 +19,7 @@
def beforePageChange(self, fromPage, toPage):
"""If there are no records, don't let them go to Pages 1 or
2."""
- if toPage != 0:
+ if fromPage == 0:
biz = self.Form.PrimaryBizobj
if biz and biz.RowCount == 0:
self.SelectedPageNumber = 0
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]