Commit 10ed490b authored by Vincent Bechu's avatar Vincent Bechu

erp5_officejs_ooffice: add rigth content type in presentation and text view

parent 92bbf20f
......@@ -50,7 +50,7 @@
if (gadget.options.doc.content_type === undefined ||
gadget.options.doc.content_type.indexOf("application/x-asc") === 0
) {
gadget.options.doc.content_type = "application/x-asc-spreadsheet";
gadget.options.doc.content_type = "application/x-asc-presentation";
return gadget.getDeclaredGadget("my_text_content");
}
return undefined;
......
......@@ -233,7 +233,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>957.19398.20438.43315</string> </value>
<value> <string>958.24259.25538.21094</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -251,7 +251,7 @@
</tuple>
<state>
<tuple>
<float>1486996287.8</float>
<float>1493306235.69</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -50,7 +50,7 @@
if (gadget.options.doc.content_type === undefined ||
gadget.options.doc.content_type.indexOf("application/x-asc") === 0
) {
gadget.options.doc.content_type = "application/x-asc-spreadsheet";
gadget.options.doc.content_type = "application/x-asc-text";
return gadget.getDeclaredGadget("my_text_content");
}
return undefined;
......
......@@ -233,7 +233,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>957.19358.38500.25787</string> </value>
<value> <string>958.24259.25538.21094</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -251,7 +251,7 @@
</tuple>
<state>
<tuple>
<float>1486993850.94</float>
<float>1493306197.28</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