Changeset 32568

Show
Ignore:
Timestamp:
05.11.2018 12:32:12 (2 weeks ago)
Author:
kjdon
Message:

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

Files:
1 modified

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;">