Commit ba4fce13 authored by Vincent Bechu's avatar Vincent Bechu Committed by Eteri

erp5_officejs_ooffice: add firefox compatibility

parent fef31fd6
...@@ -239,7 +239,8 @@ if (Common === undefined) { ...@@ -239,7 +239,8 @@ if (Common === undefined) {
g.props.jio_key = options.jio_key; g.props.jio_key = options.jio_key;
g.props.key = options.key || "text_content"; g.props.key = options.key || "text_content";
g.props.value = options.value; g.props.value = options.value;
if (g.props.value === "data:") { if (g.props.value === "data:" ||
g.props.value === "data:application/octet-stream;base64,") {
g.props.value = undefined; g.props.value = undefined;
} }
if (g.props.value) { if (g.props.value) {
......
...@@ -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.30865.13042.32375</string> </value> <value> <string>959.6056.22899.12902</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>1487685329.3</float> <float>1493716927.95</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