changeset 365:831aa8da0a7a

*** empty log message ***
author abukhman
date Tue, 19 Oct 2010 11:41:04 +0200
parents bae6bb66aa9d
children ca792f89d518
files documentViewer.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/documentViewer.py	Mon Oct 18 14:42:29 2010 +0200
+++ b/documentViewer.py	Tue Oct 19 11:41:04 2010 +0200
@@ -752,7 +752,6 @@
         pageinfo = {}
         current = getInt(current)
     
-        #pageinfo ['originalPage'] = originalPage
         pageinfo['current'] = current
         rows = int(rows or self.thumbrows)
         pageinfo['rows'] = rows
@@ -772,7 +771,7 @@
                 pageinfo['numgroups'] += 1        
         pageinfo['viewMode'] = viewMode
         pageinfo['tocMode'] = tocMode
-        #pageinfo['characterNormalization'] =characterNormalization
+        pageinfo ['originalPage'] = self.getOrigPages(docinfo=None, pageinfo=None)
         pageinfo['characterNormalization'] = self.REQUEST.get('characterNormalization',' ')
         pageinfo['query'] = self.REQUEST.get('query',' ')
         pageinfo['queryType'] = self.REQUEST.get('queryType',' ')