changeset 344:3be4180e7b23

*** empty log message ***
author abukhman
date Mon, 18 Oct 2010 12:27:44 +0200
parents 025e53924ec3
children c39c252a3186
files MpdlXmlTextServer.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Mon Oct 18 12:26:39 2010 +0200
+++ b/MpdlXmlTextServer.py	Mon Oct 18 12:27:44 2010 +0200
@@ -185,9 +185,9 @@
         selfurl = self.absolute_url()
         #pn =pageinfo['current']
        
-        viewMode=  pageinfo['viewMode']
+        #viewMode=  pageinfo['viewMode']
         #text = self.getServerData("page-fragment.xql","document=%s&mode=%s&pn=%s"%(docinfo['textURLPath'], 'text',  pn))
-        text = self.getServerData("page-fragment.xql","document=%s&mode=%s"%(docinfo['textURLPath'], 'text'))
+        text = self.getServerData("page-fragment.xql","document=%s"%(docinfo['textURLPath']))
         dom =Parse(text)
         pagedivs = dom.xpath("//div[@class='pageNumberOrig']")
         if len(pagedivs)>0: