Skip to content
Snippets Groups Projects
Commit 69f2bde3 authored by Pellaeon Lin's avatar Pellaeon Lin
Browse files

Change misleading message when file size exceeds upload limit

parent 079d20a8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment