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
...@@ -29,6 +29,12 @@ ...@@ -29,6 +29,12 @@
</item> </item>
<item> <item>
<key> <string>after_script_name</string> </key> <key> <string>after_script_name</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>before_commit_script_name</string> </key>
<value> <value>
<list> <list>
<string>updateLocalRoles</string> <string>updateLocalRoles</string>
...@@ -53,10 +59,14 @@ ...@@ -53,10 +59,14 @@
<key> <string>method_id</string> </key> <key> <string>method_id</string> </key>
<value> <value>
<list> <list>
<string>edit</string> <string>_edit</string>
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>once_per_transaction</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>portal_type_filter</string> </key> <key> <string>portal_type_filter</string> </key>
<value> <value>
......
1057 1058
\ 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