Skip to content

Commit

Permalink
[js:core] fix Studio-42#2904 error handling backend error on file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Apr 26, 2019
1 parent 767e1c1 commit 9284b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/elFinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -6519,7 +6519,7 @@ elFinder.prototype = {

if (error) {
node.trigger('uploadabort');
getFile(files).done(function(file) {
getFile(files || {}).done(function(file) {
return dfrd.reject(file._cid? null : error);
});
}
Expand Down

0 comments on commit 9284b5c

Please sign in to comment.