Change misleading message when file size exceeds upload limit

remotes/origin/ldap_group_count
Pellaeon Lin 13 years ago
parent 079d20a80e
commit 69f2bde324
  1. 4
      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

Loading…
Cancel
Save