Commit b9c92477 authored by Klaus Wölfel's avatar Klaus Wölfel

[erp5_officejs]: allow to pass conversion_kw parameter to cloudooo jio storage.

Used for example for adding parameters for notebook to pdf conversion
with wkhtltopdf
parent 6cf25395
......@@ -117,7 +117,7 @@
]);
})
.push(function (result) {
return jio_gadget.putAttachment(options.id, options.name, result[0]);
return jio_gadget.putAttachment(options.id, options.name, result[0], options.conversion_kw);
})
.push(function () {
return jio_gadget.getAttachment(options.id, options.name);
......
......@@ -269,7 +269,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>969.46608.54855.3123</string> </value>
<value> <string>977.28694.830.42120</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -287,7 +287,7 @@
</tuple>
<state>
<tuple>
<float>1534778298.94</float>
<float>1567086325.95</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -102,6 +102,7 @@
from: options.format,
to: format_list[i],
id: options.jio_key,
conversion_kw: options.conversion_kw ? options.conversion_kw : {},
name: options.format === result[1] ? ATT_NAME : options.format
}));
}
......
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