# HG changeset patch # User abukhman # Date 1274452157 -7200 # Node ID 8cd56b99972cd1a663986f1e5bfd38a5e294d02d # Parent d48c1d507556bea3a26e4ef00b6378e802066a4f *** empty log message *** diff -r d48c1d507556 -r 8cd56b99972c documentViewer.py --- a/documentViewer.py Fri May 21 16:20:38 2010 +0200 +++ b/documentViewer.py Fri May 21 16:29:17 2010 +0200 @@ -739,7 +739,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();')