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 @@ ...@@ -295,10 +295,7 @@
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -311,16 +308,13 @@ ...@@ -311,16 +308,13 @@
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
1748 1749
\ No newline at end of file \ 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