Mercurial > hg > documentViewer
comparison zpt/viewer/viewer_index.zpt @ 606:37ad612edf5a
fixed bug in indexonly with no image.
author | casties |
---|---|
date | Tue, 11 Dec 2012 16:33:12 -0500 |
parents | 530a9a024450 |
children |
comparison
equal
deleted
inserted
replaced
605:530a9a024450 | 606:37ad612edf5a |
---|---|
13 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 13 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
14 <title tal:content="python:docinfo.get('creator',' ') + ' - ' + docinfo.get('title',' ')" /> | 14 <title tal:content="python:docinfo.get('creator',' ') + ' - ' + docinfo.get('title',' ')" /> |
15 <link rel="stylesheet" tal:attributes="href string:$viewerUrl/template/docuviewer_css" type="text/css" /> | 15 <link rel="stylesheet" tal:attributes="href string:$viewerUrl/template/docuviewer_css" type="text/css" /> |
16 <script type="text/javascript" tal:attributes="src string:$viewerUrl/template/jquery_js"></script> | 16 <script type="text/javascript" tal:attributes="src string:$viewerUrl/template/jquery_js"></script> |
17 <script type="text/javascript"> | 17 <script type="text/javascript"> |
18 // <!-- | |
18 $(document).ready(function() { | 19 $(document).ready(function() { |
19 // autosubmit forms | 20 // autosubmit forms |
20 $('form.autosubmit').find('.autosubmit').change(function() { | 21 $('form.autosubmit').find('.autosubmit').change(function() { |
21 this.form.submit(); | 22 this.form.submit(); |
22 }); | 23 }); |