Changeset 31534

Show
Ignore:
Timestamp:
23.03.2017 12:16:51 (2 years ago)
Author:
kjdon
Message:

changed the comment.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/document.xsl

    r31533 r31534  
    378378            <!-- NOTE: alb = ajax load bypass --> 
    379379            <!--  
    380                 If the docType is hierarchy and we want to bypass the ajax load then do this  
    381                 OR If the docType is hierarchy and we have asked for the expanded document OR we have asked for the top level document then do this  
     380                 If we have asked for expanded document, then do this. 
     381                 OR If the docType is hierarchy and we want to bypass the ajax load then do this  
     382                 OR If the docType is hierarchy and we have asked for the top level document then do this  
    382383            --> 
    383             <xsl:when test="/page/pageRequest/paramList/param[@name = 'ed']/@value = '1' or (/page/pageResponse/document/@docType = 'hierarchy' and (/page/pageRequest/paramList/param[@name = 'alb']/@value = '1' or (string-length(/page/pageRequest/paramList/param[@name = 'd']/@value) > 0 and (/page/pageRequest/paramList/param[@name = 'ed']/@value = '1' or not(util:contains(/page/pageResponse/document/@selectedNode, '.'))))))"> 
     384            <xsl:when test="/page/pageRequest/paramList/param[@name = 'ed']/@value = '1' or (/page/pageResponse/document/@docType = 'hierarchy' and (/page/pageRequest/paramList/param[@name = 'alb']/@value = '1' or (string-length(/page/pageRequest/paramList/param[@name = 'd']/@value) > 0 and not(util:contains(/page/pageResponse/document/@selectedNode, '.')))))"> 
    384385                <div id="gs-document"> 
    385386                    <xsl:call-template name="documentPre"/>