Changeset 126:c6dcf12e3807 in documentViewer
- Timestamp:
- Jun 8, 2010, 4:57:36 PM (15 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentViewer.py
r124 r126 222 222 url = self.template.zogilib.getDLBaseUrl() 223 223 return url 224 225 def getDocumentViewerURL(self): 226 """returns the URL of this instance""" 227 return self.absolute_url() 224 228 225 229 def getStyle(self, idx, selected, style=""): … … 901 905 """loads table of contents and stores in docinfo""" 902 906 logging.debug("documentViewer (gettoc) mode: %s"%(mode)) 907 if mode == "none": 908 return docinfo 909 903 910 if 'tocSize_%s'%mode in docinfo: 904 911 # cached toc 905 return docinfo 912 return docinfo 913 906 914 docpath = docinfo['textURLPath'] 907 915 # we need to set a result set size
Note: See TracChangeset
for help on using the changeset viewer.