aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorPellaeon Lin <nfsmwlin@gmail.com>2014-01-24 22:54:16 +0800
committerPellaeon Lin <nfsmwlin@gmail.com>2014-01-24 22:54:16 +0800
commit19675c2c9de3580c32ee24b22b8ded11dc110b1c (patch)
tree48301c9d11e9ae51459555b877f89db41847ad80 /apps/files/js
parent4726a2021b70f2ee70b4cb8817fd89a8532b848b (diff)
downloadnextcloud-server-19675c2c9de3580c32ee24b22b8ded11dc110b1c.tar.gz
nextcloud-server-19675c2c9de3580c32ee24b22b8ded11dc110b1c.zip
Fix variable name
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 a003e5eec86..0d7df31f355 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -246,8 +246,8 @@ $(document).ready(function() {
if (selection.totalBytes > $('#free_space').val()) {
data.textStatus = 'notenoughspace';
data.errorThrown = t('files', 'Not enough free space, you are uploading {size1} but only {size2} is left', {
- '{size1}': humanFileSize(selection.totalBytes),
- '{size2}': humanFileSize($('#free_space').val())
+ 'size1': humanFileSize(selection.totalBytes),
+ 'size2': humanFileSize($('#free_space').val())
});
}