diff --git a/www/js/views/DocumentViews.js b/www/js/views/DocumentViews.js index f00096df..2e5dbea4 100644 --- a/www/js/views/DocumentViews.js +++ b/www/js/views/DocumentViews.js @@ -6580,7 +6580,6 @@ define(function (require) { if (device && (device.platform !== "browser")) { // running on device -- use choooser plugin to select file $("#browserSelect").hide(); - // chooser.getFile('text/*'); } else { // running in browser -- use html to select file $("#mobileSelect").hide(); diff --git a/www/js/views/ProjectViews.js b/www/js/views/ProjectViews.js index 06e5ab80..1d5d49a0 100644 --- a/www/js/views/ProjectViews.js +++ b/www/js/views/ProjectViews.js @@ -254,7 +254,7 @@ define(function (require) { // call getFile() on the chooser plugin, and if we get a file back, import it onBtnBrowse: function () { var model = this.model; - chooser.getFile('text/*', function (file) { + chooser.getFile('*/*', function (file) { console.log(file ? file.name : 'canceled'); if (file) { // replace the selection UI with the import UI