Commit 3c04f3d1 authored by Ivan Tyagov's avatar Ivan Tyagov

No need to show Download widget in dialog mode.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43348 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7aae7858
......@@ -295,10 +295,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
......@@ -311,16 +308,13 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>request/current_web_document/isDocument</string> </value>
<value> <string>python: not request.get("dialog_mode", False) and request.get("current_web_document", context).isDocument()</string> </value>
</item>
</dictionary>
</pickle>
......
1748
\ No newline at end of file
1749
\ 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