uploader
uploader copied to clipboard
Error reporting on demo page
Hi, I think the demo-config.js need to be update for the new xhr json report. From:
onUploadError: function(id, xhr, status, message){
ui_multi_update_file_status(id, 'danger', message);
ui_multi_update_file_progress(id, 0, 'danger', false);
},
To:
onUploadError: function (id, xhr, status, message) {
ui_multi_update_file_status(id, 'danger', xhr.responseJSON.message);
ui_multi_update_file_progress(id, 0, 'danger', xhr.responseJSON.message);
},
Thanks!!! I had the same problem...