fix tabindex starting at 0
authorFlorent <florent@secondweb.fr>
Tue, 07 Jul 2009 13:57:26 +0200
changeset 2556 4608d259c3db
parent 2555 ca7b122f34fa
child 2557 200985d3258d
fix tabindex starting at 0
web/request.py
--- a/web/request.py	Tue Jul 28 10:23:48 2009 +0200
+++ b/web/request.py	Tue Jul 07 13:57:26 2009 +0200
@@ -80,7 +80,7 @@
         # to create a relation with another)
         self.search_state = ('normal',)
         # tabindex generator
-        self.tabindexgen = count()
+        self.tabindexgen = count(1)
         self.next_tabindex = self.tabindexgen.next
         # page id, set by htmlheader template
         self.pageid = None