UploadQueue: error out of HEIC files are presented
This commit is contained in:
parent
a4cc528951
commit
0b0d47acb8
@ -17,6 +17,14 @@ UploadQueue.prototype.addEvents = function() {
|
||||
that.hideSpinner();
|
||||
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.addPreviewForFile(that.queue.files[i], i, callback);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user