Ignore:
Timestamp:
2018-11-05T12:32:12+13:00 (5 years ago)
Author:
kjdon
Message:

fixed a bug I introduced previously: /document/page/pageRequest is not valid, should be /page/pageRequest

File:
1 edited

Legend:

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

    r32504 r32568  
    549549                <div id="image{@nodeID}">
    550550                  <!-- when we ask for an individual section content we set ed=1. putting this test here prevents downloading all the screen and full images for each section of the document when we are just looking at the contents list. ed is not set for simple docs, so do this if doctype is simple -->
    551                   <xsl:if test="/page/pageResponse/document[@docType='simple'] or /document/page/pageRequest/paramList/param[@name = 'ed']/@value='1'">
     551                  <xsl:if test="/page/pageResponse/document[@docType='simple'] or /page/pageRequest/paramList/param[@name = 'ed']/@value='1'">
    552552               
    553553                    <div id="wrap{util:replace(@nodeID, '.', '_')}" class="zoomImage" style="position:relative; width: {$screenImageWidth}px; height: {$screenImageHeight}px;">
Note: See TracChangeset for help on using the changeset viewer.