Commit 91b11973 authored by Irving David's avatar Irving David

Fix creación de findProducts.json

parent 5c2368f8
...@@ -484,7 +484,11 @@ $(document).ready(function () { ...@@ -484,7 +484,11 @@ $(document).ready(function () {
url : purch_prod_url, url : purch_prod_url,
data : { data : {
'csrfmiddlewaretoken' : document.getElementsByName('csrfmiddlewaretoken')[0].value, 'csrfmiddlewaretoken' : document.getElementsByName('csrfmiddlewaretoken')[0].value,
'product_objects' : JSON.stringify(productObject) 'product_objects' : JSON.stringify(productObject),
'wkt' : $("#product-form input[name=polygon]").val(),
'startDate' : $("#product-form input[name=start]").val(),
'endDate' : $("#product-form input[name=end]").val(),
'clouds' : $("#product-form input[name=cloudPercentage]").val(),
}, },
dataType : 'json' dataType : 'json'
}); });
......
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