Mercurial > hg > documentViewer
changeset 352:290ef2a7900b
*** empty log message ***
author | abukhman |
---|---|
date | Mon, 18 Oct 2010 13:49:21 +0200 |
parents | 7caa63cf3070 |
children | 622acf99ccec |
files | MpdlXmlTextServer.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/MpdlXmlTextServer.py Mon Oct 18 12:50:51 2010 +0200 +++ b/MpdlXmlTextServer.py Mon Oct 18 13:49:21 2010 +0200 @@ -180,7 +180,7 @@ def getOrigPages (self, docinfo=None,pageinfo=None): """Show original page """ - #docpath = docinfo['textURLPath'] + docpath = docinfo['textURLPath'] url = docinfo['url'] selfurl = self.absolute_url() pn =pageinfo['current'] @@ -195,7 +195,7 @@ docinfo['originalPage'] = getTextFromNode(pagedivs[0]) #return docinfo['originalPage'] #return originalPage - return docinfo + return docinfo def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""): """returns single page from fulltext"""