diff options
author | Pellaeon Lin <nfsmwlin@gmail.com> | 2013-12-08 15:41:20 +0800 |
---|---|---|
committer | Pellaeon Lin <nfsmwlin@gmail.com> | 2013-12-08 15:41:20 +0800 |
commit | 69f2bde324cd491937a90948a23b06a06c2f2400 (patch) | |
tree | 61acaf5fb3e09d99bff36a43a0b142a9a3b0df05 /apps/files/js | |
parent | 079d20a80e9412ae7787ce689d46e9b3859b348b (diff) | |
download | nextcloud-server-69f2bde324cd491937a90948a23b06a06c2f2400.tar.gz nextcloud-server-69f2bde324cd491937a90948a23b06a06c2f2400.zip |
Change misleading message when file size exceeds upload limit
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/file-upload.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index e9663353f74..979bb74b13f 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 |