Changeset 562:60f5a636bc57 in documentViewer for zpt/toc_thumbs.zpt


Ignore:
Timestamp:
Oct 2, 2012, 1:22:11 PM (12 years ago)
Author:
casties
Branch:
default
Message:

bugfixes for stability.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/toc_thumbs.zpt

    r540 r562  
    2727            <td tal:repeat="thumb row" tal:attributes="class python:here.getStyle(thumb['idx'],pn,'thumb')"><a
    2828              tal:define="idx thumb/idx" tal:condition="idx" tal:attributes="href python:here.getLink('pn',idx)"> <img
    29                 tal:attributes="src python:test(docinfo['imageURL'],here.getScalerUrl(pn=idx,dw=100,dh=100,docinfo=docinfo),'images/pic');
     29                tal:attributes="src python:test(docinfo.get('imageURL',None),here.getScalerUrl(pn=idx,dw=100,dh=100,docinfo=docinfo),'images/pic');
    3030                                alt idx" /><br />
    3131                <span tal:attributes="title string:Scan number $idx" tal:content="idx" /> <span
Note: See TracChangeset for help on using the changeset viewer.