Commit 6e20efd7 authored by Vincent Bechu's avatar Vincent Bechu

[erp5_officejs] Add content_type for onlyoffice on document creation

parent 832376ee
......@@ -35,7 +35,8 @@
return gadget.jio_post({
title: "Untitled Document",
portal_type: result[0],
parent_relative_url: result[1]
parent_relative_url: result[1],
content_type: content_type[result[0]] || undefined
});
})
.push(function (id) {
......
......@@ -270,7 +270,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>963.17747.60005.26606</string> </value>
<value> <string>963.19010.53731.25787</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -288,7 +288,7 @@
</tuple>
<state>
<tuple>
<float>1509971879.7</float>
<float>1510047594.37</float>
<string>UTC</string>
</tuple>
</state>
......
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