Ignore:
Timestamp:
2012-09-18T16:43:05+12:00 (12 years ago)
Author:
sjm84
Message:

The AJAX that tries to get the page/toc dynamically will now try again when it fails

File:
1 edited

Legend:

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

    r26200 r26205  
    314314        <xsl:choose>
    315315            <!-- NOTE: alb = ajax load bypass -->
     316            <!--
     317                If the docType is hierarchy and the we want to bypass the ajax load then do this
     318                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
     319            -->
    316320            <xsl:when test="/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, '.')))))">
    317321                <div id="gs-document">
Note: See TracChangeset for help on using the changeset viewer.