i just trying to implement blueimp - jQuery File Upload. Upload works fine, but i can`t delete files.
<script>
$(function () {
'use strict';
$.ajaxSetup({ headers: { 'X-CSRF-TOKEN': '' } });
$('#fileupload').fileupload({
url: '',
type: 'POST',
formData: {gallery_id:'' },
previewMaxWidth: 200,
previewMaxHeight: 125,
acceptFileTypes: /(\.|\/)(jpe?g|png)$/i,
maxFileSize: 10240000,
minFileSize: undefined,
maxNumberOfFiles: 8,
dataType: 'json'
});
});
</script>
jquery code, It working fine, but when i want to delete uploaded file i getting response
{"":false}
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2v6HgWx
via IFTTT
Aucun commentaire:
Enregistrer un commentaire