Changeset 596:cd477b587ff4 in documentViewer for zpt/viewer


Ignore:
Timestamp:
Nov 19, 2012, 11:30:36 AM (12 years ago)
Author:
casties
Branch:
default
Message:

now image search layer uses either dri or uri.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/viewer/layer_image_search.zpt

    r595 r596  
    1616    uri dri | docinfo/documentPath;
    1717    uriParam python:test(dri, 'dri', 'uri');
     18    otherParam python:test(dri, 'uri', 'dri');
    1819    pf pageinfo/pf | nothing;"
    1920    tal:content="structure string:
     
    2223    dlOpts.annotationsReadOnly=true;
    2324    dlOpts.annotatorPlugins=['Store','Markdown','DigilibIntegrator'];
    24     dlOpts.annotatorPluginSettings={'Store':{'loadFromSearch':{'$uriParam':'$uri','pf':'$pf','query':'$query'}}};
     25    dlOpts.annotatorPluginSettings={'Store':{'loadFromSearch':{'$uriParam':'$uri','$otherParam':null,'pf':'$pf','query':'$query'}}};
    2526    "></script>
    2627</metal:block>
Note: See TracChangeset for help on using the changeset viewer.