Nextrek
Diff Revisions
766
vs
767
for /Android/SmartCharging/endPoints/examples/registrazione_locale.html
|
@@ -192,10 +192,10 @@ |
192 |
192 |
|
formData.append("image_file", image_file); |
193 |
193 |
|
|
194 |
194 |
|
function ajaxResUploadImage(data) { |
195 |
|
- |
//var json_output = JSON.stringify(data); |
196 |
|
- |
var jsonObj = JSON.parse(data); |
197 |
|
- |
imgs.push(jsonObj.image_file); |
198 |
|
- |
$("#output_submit_image").append(data); |
|
195 |
+ |
var json_output = JSON.stringify(data); |
|
196 |
+ |
//var jsonObj = JSON.parse(data); |
|
197 |
+ |
imgs.push(data.image_file); |
|
198 |
+ |
$("#output_submit_image").append(json_output); |
199 |
199 |
|
} |
200 |
200 |
|
|
201 |
201 |
|
$.ajax({ |