Changeset 405:b8fb4c750d74 in documentViewer


Ignore:
Timestamp:
Nov 23, 2010, 4:36:50 PM (14 years ago)
Author:
casties
Branch:
default
Message:

fix for characternormalization default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentViewer.py

    r404 r405  
    292292 
    293293    security.declareProtected('View','index_html')
    294     def index_html(self,url,mode="texttool",viewMode="auto",tocMode="thumbs",start=None,pn=1,mk=None, query=None, querySearch=None, characterNormalization="", optionToggle=None):
     294    def index_html(self,url,mode="texttool",viewMode="auto",tocMode="thumbs",start=None,pn=1,mk=None):
    295295        '''
    296296        view it
     
    803803        return docinfo
    804804               
    805     def getPageinfo(self, current, start=None, rows=None, cols=None, docinfo=None, viewMode=None, tocMode=None,characterNormalization=""):
     805    def getPageinfo(self, current, start=None, rows=None, cols=None, docinfo=None, viewMode=None, tocMode=None):
    806806        """returns pageinfo with the given parameters"""
    807807        pageinfo = {}
     
    827827        pageinfo['viewMode'] = viewMode
    828828        pageinfo['tocMode'] = tocMode
    829         pageinfo['characterNormalization'] = self.REQUEST.get('characterNormalization','')
     829        pageinfo['characterNormalization'] = self.REQUEST.get('characterNormalization','regPlusNorm')
    830830        pageinfo['optionToggle'] = self.REQUEST.get('optionToggle','')
    831831        pageinfo['query'] = self.REQUEST.get('query','')
Note: See TracChangeset for help on using the changeset viewer.