changeset 356:4b64c83e8118

*** empty log message ***
author abukhman
date Mon, 18 Oct 2010 13:59:33 +0200
parents 929211c057eb
children fb9bbc7c0659
files documentViewer.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/documentViewer.py	Mon Oct 18 13:57:07 2010 +0200
+++ b/documentViewer.py	Mon Oct 18 13:59:33 2010 +0200
@@ -748,12 +748,12 @@
         self.REQUEST.SESSION['docinfo'] = docinfo
         return docinfo
                
-    def getPageinfo(self, current, start=None, rows=None, cols=None, docinfo=None, viewMode=None, tocMode=None,characterNormalization="",originalPage=None):
+    def getPageinfo(self, current, start=None, rows=None, cols=None, docinfo=None, viewMode=None, tocMode=None,characterNormalization=""):
         """returns pageinfo with the given parameters"""
         pageinfo = {}
         current = getInt(current)
     
-        pageinfo ['originalPage'] = self.getOrigPages(docinfo=docinfo,pageinfo=pageinfo)
+        #pageinfo ['originalPage'] = self.getOrigPages(docinfo=docinfo,pageinfo=pageinfo)
         pageinfo['current'] = current
         rows = int(rows or self.thumbrows)
         pageinfo['rows'] = rows
@@ -786,7 +786,7 @@
         toc = int (pageinfo['tocPN'])
         pageinfo['textPages'] =int (toc)
         
-        logging.debug("originalPage: %s"%originalPage)
+        #logging.debug("originalPage: %s"%originalPage)
         
         if 'tocSize_%s'%tocMode in docinfo:
             tocSize = int(docinfo['tocSize_%s'%tocMode])