comparison OrthancExplorer/file-upload.js @ 3104:b311cff247ca

added a log in console to debug issue #1. Can't reproduce the issue since then so let's keep the log!
author Alain Mazy <alain@mazy.be>
date Thu, 10 Jan 2019 11:19:39 +0100
parents 81b58b549845
children 6aa8d90aeee5 4cfed5c2eacd
comparison
equal deleted inserted replaced
3103:81b58b549845 3104:b311cff247ca
25 .css('width', '100%') 25 .css('width', '100%')
26 .css('background-color', 'red'); 26 .css('background-color', 'red');
27 $('#progress .label').text('Failure'); 27 $('#progress .label').text('Failure');
28 }) 28 })
29 .bind('fileuploaddrop', function (e, data) { 29 .bind('fileuploaddrop', function (e, data) {
30 console.log("dropped " + data.files.length + " files");
30 appendFilesToUploadList(data.files); 31 appendFilesToUploadList(data.files);
31 }) 32 })
32 .bind('fileuploadsend', function (e, data) { 33 .bind('fileuploadsend', function (e, data) {
33 // Update the progress bar. Note: for some weird reason, the 34 // Update the progress bar. Note: for some weird reason, the
34 // "fileuploadprogressall" does not work under Firefox. 35 // "fileuploadprogressall" does not work under Firefox.