changeset 500:62cc3d7f7570 elementtree

use new digilibUrl open_new action.
author casties
date Tue, 14 Feb 2012 20:18:03 +0100
parents 3f9703746fef
children 29c6d09a506c
files zpt/viewer_images.zpt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/viewer_images.zpt	Mon Feb 13 19:28:33 2012 +0100
+++ b/zpt/viewer_images.zpt	Tue Feb 14 20:18:03 2012 +0100
@@ -101,7 +101,7 @@
             <div><a href="javascript:$digilib.digilib('setMark')">set mark</a></div>
             <div><a href="javascript:$digilib.digilib('removeMark')">remove mark</a></div>
             <div><a href="javascript:$digilib.digilib('reference')">get reference</a></div>
-            <div><a tal:attributes="href string:$dlBaseUrl/jquery/digilib.html?fn=${docinfo/imagePath}&pn=${pageinfo/pn}" target="_blank">digilib</a></div>
+            <div><a href="javascript:$digilib.digilib('digilibUrl', 'open_new')">digilib</a></div>
           </div>
       </div>
     </div> <!-- page-body -->