mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 22:50:53 +03:00
removing dialog
This commit is contained in:
@@ -145,9 +145,6 @@ $(document).ready(function() {
|
|||||||
if (event.type === 'drop') {
|
if (event.type === 'drop') {
|
||||||
if (!event.originalEvent.dataTransfer.files[0]) {
|
if (!event.originalEvent.dataTransfer.files[0]) {
|
||||||
$('.upload-window').removeClass('ondrag');
|
$('.upload-window').removeClass('ondrag');
|
||||||
document.l10n.formatValue('uploadValidFile').then(str => {
|
|
||||||
alert(str);
|
|
||||||
});
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ uploadPageSizeMessage = For the most reliable operation, it’s best to keep you
|
|||||||
uploadPageBrowseButton = Select a file on your computer
|
uploadPageBrowseButton = Select a file on your computer
|
||||||
.title = {uploadPageBrowseButtonTitle}
|
.title = {uploadPageBrowseButtonTitle}
|
||||||
uploadPageMultipleFilesAlert = Uploading multiple files or a folder is currently not supported.
|
uploadPageMultipleFilesAlert = Uploading multiple files or a folder is currently not supported.
|
||||||
uploadValidFile = Please drag a valid file to upload.
|
|
||||||
|
|
||||||
uploadPageBrowseButtonTitle = Upload file
|
uploadPageBrowseButtonTitle = Upload file
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user