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

erp5_officejs_ooffice: add rigth content type in presentation and text view

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