Mercurial > hg > documentViewer
changeset 104:ff92f29e99a9
*** empty log message ***
author | abukhman |
---|---|
date | Wed, 19 May 2010 18:24:16 +0200 |
parents | daedc22e4e76 |
children | 6bffb612cd6a |
files | documentViewer.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/documentViewer.py Wed May 19 18:19:45 2010 +0200 +++ b/documentViewer.py Wed May 19 18:24:16 2010 +0200 @@ -761,13 +761,13 @@ if href.startswith('../lt/lex.xql'): # selfurl = self.absolute_url() - hrefNode.nodeValue = href.replace('../lt/lex.xql','%s/template/head_main_voc'%selfurl) + hrefNode.nodeValue = href.replace('../lt/lex.xql','%s../template/head_main_voc'%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();') 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();')