diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index e9663353f741f4c5914cac7bddda482d67849010..979bb74b13f8f6e2eed31106257f92b33318b9fa 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -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