changeset 556:c7fed4285d25

resource uri not with dri.
author casties
date Wed, 26 Sep 2012 16:50:04 +0200
parents 841c2094af63
children abcb67f5cab4
files zpt/layer_text_annotator.zpt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/layer_text_annotator.zpt	Wed Sep 26 12:24:11 2012 +0200
+++ b/zpt/layer_text_annotator.zpt	Wed Sep 26 16:50:04 2012 +0200
@@ -32,7 +32,7 @@
 
   <script type="text/javascript" 
     tal:define="annUrl python:'http://echo.mpiwg-berlin.mpg.de/documents%s?pn=%s'%(docinfo['documentPath'],pageinfo['pn']);
-    resUrl python:'http://echo.mpiwg-berlin.mpg.de/documents%s'%(docinfo['DRI']); 
+    resUrl python:'http://echo.mpiwg-berlin.mpg.de/documents%s'%(docinfo['documentPath']));
     global annUser python:here.getAuthenticatedUser(anon='anonymous');
     global annGroup python:request.get('annotator_group', None);
     permUser python:test(annGroup, 'group:%s'%annGroup, annUser);"