Changeset 117:d9705375d4d7 in documentViewer


Ignore:
Timestamp:
May 21, 2010, 3:02:43 PM (14 years ago)
Author:
abukhman
Branch:
default
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentViewer.py

    r116 r117  
    738738                            hrefNode.nodeValue = pagexml.replace('page-fragment.xql','%s'%selfurl) 
    739739                        if href.startswith('../lt/lemma.xql'):
    740                             hrefNode.nodeValue = href.replace('..lt/lemma.xql','%s/template/head_main_lemma'%selfurl)       
     740                           
     741                            hrefNode.nodeValue = href.replace('../lt/lemma.xql','%s/template/head_main_lemma'%selfurl)       
    741742                            l.setAttributeNS(None, 'target', '_blank')
    742743                            l.setAttributeNS(None, 'onClick',"popupWin = window.open(this.href, 'contacts', 'location,width=500,height=600,top=180, left=400, scrollbars=1'); return false;")
    743                             l.setAttributeNS(None, 'onDblclick', 'popupWin.focus();')                 
     744                            l.setAttributeNS(None, 'onDblclick', 'popupWin.focus();') 
     745                pagedivs = pagedom.xpath("//div[@class='queryResultMorphExpansion']")               
    744746                return serializeNode(pagenode)
    745747       
Note: See TracChangeset for help on using the changeset viewer.