summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorPellaeon Lin <nfsmwlin@gmail.com>2013-12-08 15:41:20 +0800
committerPellaeon Lin <nfsmwlin@gmail.com>2013-12-08 15:41:20 +0800
commit69f2bde324cd491937a90948a23b06a06c2f2400 (patch)
tree61acaf5fb3e09d99bff36a43a0b142a9a3b0df05 /apps/files/js
parent079d20a80e9412ae7787ce689d46e9b3859b348b (diff)
downloadnextcloud-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.js4
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