uploader icon indicating copy to clipboard operation
uploader copied to clipboard

Error reporting on demo page

Open rollopack opened this issue 7 years ago • 1 comments

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);
},

rollopack avatar Jan 23 '19 10:01 rollopack

Thanks!!! I had the same problem...

comercialseo avatar Dec 10 '19 11:12 comercialseo