Changeset 104:ff92f29e99a9 in documentViewer


Ignore:
Timestamp:
May 19, 2010, 4:24:16 PM (14 years ago)
Author:
abukhman
Branch:
default
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentViewer.py

    r103 r104  
    762762                        if href.startswith('../lt/lex.xql'):
    763763                           # 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)         
    765765                            l.setAttributeNS(None, 'target', '_blank')
    766766                            l.setAttributeNS(None, 'onClick',"popupWin = window.open(this.href, 'contacts', 'location,width=500,height=600,top=180, left=400, scrollbars=1'); return false;")
     
    768768                        if href.startswith('../lt/lemma.xql'):
    769769                            #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)       
    771771                            l.setAttributeNS(None, 'target', '_blank')
    772772                            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.