Commit 78935c32 authored by Boris Kocherov's avatar Boris Kocherov

erp5_officejs: using of "Base_downloadWithCors" instead of "?format=" during attachment downloading

parent 48a84fbf
......@@ -21,7 +21,8 @@
check_remote_creation: true,
check_remote_deletion: true,
query: {
query: 'portal_type:"' + portal_type + '" '
query: 'portal_type:"' + portal_type + '" ',
limit: [0, 30]
},
attachment_list: ["data"],
local_sub_storage: {
......@@ -40,8 +41,8 @@
"data": {
"get": {
"uri_template": (new URI("hateoas"))
.absoluteTo(erp5_url)
.toString() + "/{+id}?format="
.absoluteTo(erp5_url)
.toString() + "/{+id}/Base_downloadWithCors"
}
}
},
......
......@@ -269,7 +269,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>955.59503.50809.11605</string> </value>
<value> <string>956.5899.18377.36727</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -287,7 +287,7 @@
</tuple>
<state>
<tuple>
<float>1481538235.2</float>
<float>1482255975.26</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