Skip to content

Commit

Permalink
Merge pull request #541 from eb1/master
Browse files Browse the repository at this point in the history
Supplemental work on #538
  • Loading branch information
eb1 authored Jan 4, 2024
2 parents 2c0420c + c2f7597 commit 55359f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion www/js/views/DocumentViews.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 <input> to select file
$("#mobileSelect").hide();
Expand Down
2 changes: 1 addition & 1 deletion www/js/views/ProjectViews.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55359f2

Please sign in to comment.