Commit 4f340d0b authored by Nicolas Delaby's avatar Nicolas Delaby

Small improvement on interaction for File, Image and PDF

* trig on wider scope (ContributionTool call _edit not edit)
* Call only once per transaction & and at the end of transaction to improve performances
reviewed by romain

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32032 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 79181121
No related merge requests found
......@@ -29,6 +29,12 @@
</item>
<item>
<key> <string>after_script_name</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>before_commit_script_name</string> </key>
<value>
<list>
<string>updateLocalRoles</string>
......@@ -53,10 +59,14 @@
<key> <string>method_id</string> </key>
<value>
<list>
<string>edit</string>
<string>_edit</string>
</list>
</value>
</item>
<item>
<key> <string>once_per_transaction</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>portal_type_filter</string> </key>
<value>
......
1057
\ No newline at end of file
1058
\ 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