Commit 21fd3f16 authored by Jérome Perrin's avatar Jérome Perrin

empty files should not be in uploaded state, they should remain in empty state.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31570 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 785037e6
...@@ -54,7 +54,8 @@ ...@@ -54,7 +54,8 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>document = state_change[\'object\']\n <value> <string>document = state_change[\'object\']\n
document.uploadFile()\n if document.hasBaseData():\n
document.uploadFile()\n
\n \n
# do not activate conversion if the object is in portal_contributions\n # do not activate conversion if the object is in portal_contributions\n
# because it will be gone from there in a second\n # because it will be gone from there in a second\n
......
1050 1051
\ 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