Browse Source

fix a merge conflict mistake for upload errors

pull/36/head
mutantmonkey 9 years ago
parent
commit
42aab4dca1
  1. 2
      static/js/upload.js

2
static/js/upload.js

@ -73,7 +73,7 @@ Dropzone.options.dropzone = {
file.cancelActionElement = deleteAction; file.cancelActionElement = deleteAction;
file.fileActions.appendChild(deleteAction); file.fileActions.appendChild(deleteAction);
}, },
error: function(file, errMsg, xhrO) {
error: function(file, resp, xhrO) {
file.fileActions.removeChild(file.cancelActionElement); file.fileActions.removeChild(file.cancelActionElement);
file.fileActions.removeChild(file.progressElement); file.fileActions.removeChild(file.progressElement);

Loading…
Cancel
Save