Mercurial > hg > documentViewer
changeset 627:98fe8e168c01
fix bug with sslify in template.
author | casties |
---|---|
date | Mon, 15 Dec 2014 17:59:59 +0100 |
parents | 7dafe8283312 |
children | 447251b5af65 |
files | zpt/viewer/layer_image_annotator.zpt |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/zpt/viewer/layer_image_annotator.zpt Mon Dec 15 17:31:08 2014 +0100 +++ b/zpt/viewer/layer_image_annotator.zpt Mon Dec 15 17:59:59 2014 +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 python:here.sslifyUrl('//tuxserve03.mpiwg-berlin.mpg.de/AnnotationManager', here); + tal:define="global annServerUrl python:here.sslifyUrl('//tuxserve03.mpiwg-berlin.mpg.de/AnnotationManager', app=here); global annTokenUrl string:$viewerUrl/template/token/getLoginToken; annUrl python:'http://echo.mpiwg-berlin.mpg.de/documents%s?pn=%s'%(docinfo['imagePath'],pageinfo['pn']); resUrl python:'http://echo.mpiwg-berlin.mpg.de/documents%s'%(docinfo['documentPath']);