diff --git a/js/jquery.fileupload.js b/js/jquery.fileupload.js index 0ec51b64e..4927f951c 100644 --- a/js/jquery.fileupload.js +++ b/js/jquery.fileupload.js @@ -850,7 +850,7 @@ fileInput.prop('entries'), files, value; - if (entries) { + if (entries && entries.length > 0) { return this._handleFileTreeEntries(entries); } files = $.makeArray(fileInput.prop('files'));