diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 3b65fc4bf..d9550ac59 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -1869,11 +1869,16 @@ define([ } else if (item.isDirectory) { // Get folder contents var dirReader = item.createReader(); + // this API is not supported in Opera or IE + // https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/webkitGetAsEntry + // all other browsers will recurse over subfolders and upload everything dirReader.readEntries(w(function(entries) { for (var i=0; i