changeset 115:477642ca6887

*** empty log message ***
author abukhman
date Fri, 21 May 2010 16:37:37 +0200
parents 0808712dcae3
children 2a6b301f5b27
files documentViewer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/documentViewer.py	Fri May 21 16:36:17 2010 +0200
+++ b/documentViewer.py	Fri May 21 16:37:37 2010 +0200
@@ -738,7 +738,7 @@
                             hrefNode.nodeValue = pagexml.replace('page-fragment.xql','%s'%selfurl)  
                         if href.startswith('../lt/lemma.xql'):
                             selfurl = self.absolute_url()
-                            hrefNode.nodeValue = href.replace('..lt/lemma.xql','%s/template/head_main_lemma'%selfurl)        
+                            hrefNode.nodeValue = href.replace('lt/lemma.xql','%s/template/head_main_lemma'%selfurl)        
                             l.setAttributeNS(None, 'target', '_blank')
                             l.setAttributeNS(None, 'onClick',"popupWin = window.open(this.href, 'contacts', 'location,width=500,height=600,top=180, left=400, scrollbars=1'); return false;")
                             l.setAttributeNS(None, 'onDblclick', 'popupWin.focus();')