Commit 7b37557a authored by Vincent Bechu's avatar Vincent Bechu

[erp5_officejs] Fix download convert from another format

parent e234f354
......@@ -56,7 +56,7 @@
return ojs_cloudooo.getConvertedBlob({
jio_key: gadget.state.jio_key,
format: format,
mime_type: gadget.state.format
filename: gadget.state.doc.filename
});
});
})
......
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>969.32112.45524.32443</string> </value>
<value> <string>969.40397.55907.1280</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1534258975.87</float>
<float>1534406300.95</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -48,7 +48,7 @@
}, function (error) {
if (error instanceof jIO.util.jIOError && error.status_code === 404) {
return gadget.putAllCloudoooConvertionOperation({
format: options.mime_type,
format: mime_type,
jio_key: options.jio_key
});
}
......
......@@ -255,7 +255,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>P0</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -269,7 +269,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>969.30633.37055.43400</string> </value>
<value> <string>969.32112.45524.32443</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -287,7 +287,7 @@
</tuple>
<state>
<tuple>
<float>1533819528.2</float>
<float>1534407519.6</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