Commit 4453c6c6 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_officejs: Update OODocument_viewAsjIO to standard mimetype. Remove conversion

parent 68dbcfbb
......@@ -281,7 +281,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/OOoDocument_convertForJio</string> </value>
<value> <string>here/getData</string> </value>
</item>
</dictionary>
</pickle>
......@@ -294,7 +294,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: not here.getContentType() or here.getContentType().startswith("application/yformat.")</string> </value>
<value> <string>python: not here.getContentType() or here.getContentType().startswith("application/x-asc")</string> </value>
  • I would rather startswith("application/x-asc-") than startswith("application/x-asc"). But it's ok.

Please register or sign in to reply
</item>
</dictionary>
</pickle>
......
......@@ -294,7 +294,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getContentType() and not here.getContentType().startswith("application/yformat.")</string> </value>
<value> <string>python: here.getContentType() is not None and not here.getContentType().startswith("application/x-asc")</string> </value>
</item>
</dictionary>
</pickle>
......
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