Changeset 32121

Show
Ignore:
Timestamp:
08.02.2018 13:26:54 (6 months ago)
Author:
kjdon
Message:

added a comment

Files:
1 modified

Legend:

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

    r32094 r32121  
    556556                 
    557557                <div id="image{@nodeID}"> 
    558                 <xsl:if test="/page/pageRequest/paramList/param[@name = 'ed']/@value='1'"> 
     558                  <!-- 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 teh contents list --> 
     559                  <xsl:if test="/page/pageRequest/paramList/param[@name = 'ed']/@value='1'"> 
    559560                 
    560561                    <div id="wrap{util:replace(@nodeID, '.', '_')}" class="zoomImage" style="position:relative; width: {$screenImageWidth}px; height: {$screenImageHeight}px;">