Change misleading message when file size exceeds upload limit

This commit is contained in:
Pellaeon Lin 2013-12-08 15:41:20 +08:00
Родитель 079d20a80e
Коммит 69f2bde324
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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