Commit 4a1570d5 authored by Valentin Benozillo's avatar Valentin Benozillo Committed by Xiaowu Zhang

[erp5_offcejs] Fix typo of multiple spaces in portal_type names

parent f4cc7c84
......@@ -47,7 +47,7 @@
if (result.portal_type !== undefined) {
child_gadget_url = 'gadget_officejs_jio_' +
result.portal_type.replace(' ', '_').toLowerCase() +
result.portal_type.replace(/ /g, '_').toLowerCase() +
'_view.html';
} else {
throw new Error('Can not display document: ' + options.jio_key);
......
......@@ -227,7 +227,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>967.6014.60137.10240</string> </value>
<value> <string>966.18236.16225.43793</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -245,7 +245,7 @@
</tuple>
<state>
<tuple>
<float>1524650935.99</float>
<float>1521715374.53</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