Commit ef560377 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: Add active process url to request body

Request body should contain the image data and the active process relative url (depending on which erp5 context the script is called)
parent 020a9cf2
......@@ -81,6 +81,7 @@
var data = new FormData();
data.append("input_value",
gadget.state['blob_url_' + blob_page].split(';')[1].split(',')[1]);
data.append("active_process_url", gadget.state.active_process);
return new RSVP.Queue()
.push(function () {
return jIO.util.ajax({
......
......@@ -244,7 +244,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>981.29551.59362.28552</string> </value>
<value> <string>981.30481.36256.38348</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1580163643.67</float>
<float>1580220211.01</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