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