New bootstrap-based layout #30

Merged
Roflin merged 79 commits from bootstrap into master 2023-03-14 19:11:25 +01:00
Showing only changes of commit 0b0d47acb8 - Show all commits

View File

@ -17,6 +17,14 @@ UploadQueue.prototype.addEvents = function() {
that.hideSpinner(); that.hideSpinner();
that.submit.disabled = false; that.submit.disabled = false;
}; };
if (that.queue.files[0].name.includes(".HEIC")) {
alert('Sorry, the HEIC image format is not supported.\nPlease convert your photos to JPEG before uploading.');
that.hideSpinner();
that.submit.disabled = false;
break;
}
that.addPreviewBoxForQueueSlot(i); that.addPreviewBoxForQueueSlot(i);
that.addPreviewForFile(that.queue.files[i], i, callback); that.addPreviewForFile(that.queue.files[i], i, callback);
}; };