Mercurial > hg > documentViewer
changeset 67:0fa278fb82b5
fixed problem with old viewer instances
author | casties |
---|---|
date | Wed, 16 Jan 2008 19:13:26 +0100 |
parents | e3fd957a1b2a |
children | b8457fc33446 |
files | zpt/changeDocumentViewer.zpt |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/zpt/changeDocumentViewer.zpt Fri Jun 29 17:44:40 2007 +0200 +++ b/zpt/changeDocumentViewer.zpt Wed Jan 16 19:13:26 2008 +0100 @@ -15,7 +15,7 @@ <p class="form-text">This information can be automatically detected if the image viewer above is a Zogilib instance.<br/> You must clear this field when you change the image viewer URL above.</p> <p class="form-label">Text viewer URL</p> - <p class="form-element"><input size="80" tal:attributes="value here/textViewerUrl" name="textViewerUrl"></p> + <p class="form-element"><input size="80" tal:attributes="value python:getattr(here,'textViewerUrl','')" name="textViewerUrl"></p> <p class="form-text">Should be a displayXML instance, full URL up to the '?' (e.g. 'http://echo.mpiwg-berlin.mpg.de/viewText?')</p> <p class="form-optional">Thumbnail rows</p>