Changeset 104:ff92f29e99a9 in documentViewer
- Timestamp:
- May 19, 2010, 4:24:16 PM (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentViewer.py
r103 r104 762 762 if href.startswith('../lt/lex.xql'): 763 763 # selfurl = self.absolute_url() 764 hrefNode.nodeValue = href.replace('../lt/lex.xql','%s /template/head_main_voc'%selfurl)764 hrefNode.nodeValue = href.replace('../lt/lex.xql','%s../template/head_main_voc'%selfurl) 765 765 l.setAttributeNS(None, 'target', '_blank') 766 766 l.setAttributeNS(None, 'onClick',"popupWin = window.open(this.href, 'contacts', 'location,width=500,height=600,top=180, left=400, scrollbars=1'); return false;") … … 768 768 if href.startswith('../lt/lemma.xql'): 769 769 #selfurl = self.absolute_url() 770 hrefNode.nodeValue = href.replace('../lt/lemma.xql','%s /template/head_main_lemma'%selfurl)770 hrefNode.nodeValue = href.replace('../lt/lemma.xql','%s../template/head_main_lemma'%selfurl) 771 771 l.setAttributeNS(None, 'target', '_blank') 772 772 l.setAttributeNS(None, 'onClick',"popupWin = window.open(this.href, 'contacts', 'location,width=500,height=600,top=180, left=400, scrollbars=1'); return false;")
Note: See TracChangeset
for help on using the changeset viewer.