Commit e0d23e3e authored by Ivan Tyagov's avatar Ivan Tyagov

Use proper base API (which is tested) to download rather than rely on default context view.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38514 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 719e32c8
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
</tuple>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
</pickle>
<pickle>
<dictionary>
......@@ -56,7 +53,7 @@
<div class="download-document-format-list-menu" style="opacity: 0.999999; display: none;">\n
<ul>\n
<li class="separator">\n
<a tal:attributes="href document_url"\n
<a tal:attributes="href string:${document_url}/Base_download"\n
i18n:domain="erp5_ui" \n
i18n:translate=""\n
title="Download in original format">Original</a>\n
......@@ -89,10 +86,22 @@
]]></string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Base_viewDownloadWidget</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
......
1550
\ No newline at end of file
1552
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment