зеркало из https://github.com/nextcloud/server.git
Change misleading message when file size exceeds upload limit
This commit is contained in:
Родитель
079d20a80e
Коммит
69f2bde324
|
@ -235,8 +235,8 @@ $(document).ready(function() {
|
|||
|
||||
//check max upload size
|
||||
if (selection.totalBytes > $('#max_upload').val()) {
|
||||
data.textStatus = 'notenoughspace';
|
||||
data.errorThrown = t('files', 'Not enough space available');
|
||||
data.textStatus = 'sizeexceedlimit';
|
||||
data.errorThrown = t('files', 'File size exceeds upload limit');
|
||||
}
|
||||
|
||||
// end upload for whole selection on error
|
||||
|
|
Загрузка…
Ссылка в новой задаче