diff --git a/static/js/upload.js b/static/js/upload.js index 9c6b679..222332c 100644 --- a/static/js/upload.js +++ b/static/js/upload.js @@ -73,7 +73,7 @@ Dropzone.options.dropzone = { file.cancelActionElement = deleteAction; file.fileActions.appendChild(deleteAction); }, - error: function(file, errMsg, xhrO) { + error: function(file, resp, xhrO) { file.fileActions.removeChild(file.cancelActionElement); file.fileActions.removeChild(file.progressElement);