changeset 586:230ba358da3c

fixed annotationServerUrl.
author casties
date Tue, 13 Nov 2012 18:20:43 +0100
parents 83eeed69793f
children 6000c7e24d8a
files zpt/layer_images_annotator.zpt
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/layer_images_annotator.zpt	Tue Nov 13 17:33:34 2012 +0100
+++ b/zpt/layer_images_annotator.zpt	Tue Nov 13 18:20:43 2012 +0100
@@ -10,7 +10,7 @@
   <link rel="stylesheet" type="text/css" tal:attributes="href string:$dlBaseUrl/jquery/annotator.min.css"/>
 
   <script type="text/javascript" 
-    tal:define="global annServerUrl string:http://tuxserve03.mpiwg-berlin.mpg.de/AnnotationManager/annotator;
+    tal:define="global annServerUrl string:http://tuxserve03.mpiwg-berlin.mpg.de/AnnotationManager;
     global annTokenUrl string:$viewerUrl/template/token/getLoginToken;
     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['documentPath']);
@@ -19,7 +19,7 @@
     permUser python:test(annGroup, 'group:%s'%annGroup, annUser);"
     tal:content="structure string:
     dlOpts.digilibFrontendPath='/jquery/digilib-ann.html';
-    dlOpts.annotationServerUrl='$annServerUrl';
+    dlOpts.annotationServerUrl='$annServerUrl/annotator';
     dlOpts.annotationTokenUrl='$annTokenUrl';
     dlOpts.annotationUser='$annUser';
     dlOpts.annotatorPlugins=['Auth','Permissions','Store','Markdown','DigilibIntegrator'];