Hello everyone,
i want to traverse a file system like in following example:
-- i want to traverse a file system like in following example:
function traverse(entry, path) { path = path || ""; if (entry.isFile) { // Get file item.file(function(file) { console.log("File:", path + file.name); }); } else if (entry.isDirectory) { // Get folder contents var dirReader = entry.createReader(); dirReader.readEntries(function(entries) { for (var i = 0; i < entries.length; i++) { traverse(entries[i], path + entry.name + "/"); } }); } } dropArea.addEventListener("drop", function(e) { e.preventDefault(); var items = event.dataTransfer.items; for (var i = 0; i < items.length; i++) { var entry = items[i].webkitGetAsEntry(); if (entry) { traverse(entry); } } }, false);
My problem is, that in MS Edge it doesn't work. the error callback just returns 'unknown error'.
And i have really no idea why it is not working in MS Edge. FF and Chrome are ok.
I am using GWT 2.7 --> an update to 2.8 is not possible because i have to use Java 6.
I really hope that anyone of you has any idea for me
Best Regards
Daniel
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment