Skip to content

Commit

Permalink
Work on adapt-it#539
Browse files Browse the repository at this point in the history
Code cleanup -- a couple bugs in project management / copy project from file
  • Loading branch information
eb1 committed Jan 3, 2024
1 parent c1a3442 commit 4e864e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions www/js/views/ProjectViews.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,12 @@ define(function (require) {
chooser.getFile('text/*', function (file) {
console.log(file ? file.name : 'canceled');
if (file) {
isClipboard = false;
// replace the selection UI with the import UI
$("#selectControls").hide();
$("#LoadingStatus").html(Handlebars.compile(tplLoadingPleaseWait));
// Import can take a while, and potentially hang. Provide a way to cancel the operation
$("#btnCancel").show();
fileName = file.name;
var fileName = file.name;
window.resolveLocalFileSystemURL(file.uri,
function (entry) {
entry.file(
Expand Down

0 comments on commit 4e864e5

Please sign in to comment.