diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-11-17 13:30:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 13:30:08 +0100 |
commit | 5acabcf5cbcb1db92fd9661bc1ed5735ae316323 (patch) | |
tree | 8d05040b19594d88ab7404b2736d48b85fde80ba /apps/files/js/filelist.js | |
parent | 2429e8b4c586c7ec8f7bbe7edefbbd5f160f8c6f (diff) | |
parent | f9536b08096ed1c80391af36d33a18198be1fced (diff) | |
download | nextcloud-server-5acabcf5cbcb1db92fd9661bc1ed5735ae316323.tar.gz nextcloud-server-5acabcf5cbcb1db92fd9661bc1ed5735ae316323.zip |
Merge pull request #24102 from nextcloud/bugfix/noid/quota-upload
Check quota of subdirectories when uploading to them
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r-- | apps/files/js/filelist.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 86e978d178b..30bc35551d6 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1236,6 +1236,7 @@ mtime: parseInt($el.attr('data-mtime'), 10), type: $el.attr('data-type'), etag: $el.attr('data-etag'), + quotaAvailableBytes: $el.attr('data-quota'), permissions: parseInt($el.attr('data-permissions'), 10), hasPreview: $el.attr('data-has-preview') === 'true', isEncrypted: $el.attr('data-e2eencrypted') === 'true' @@ -1495,6 +1496,7 @@ "data-mime": mime, "data-mtime": mtime, "data-etag": fileData.etag, + "data-quota": fileData.quotaAvailableBytes, "data-permissions": permissions, "data-has-preview": fileData.hasPreview !== false, "data-e2eencrypted": fileData.isEncrypted === true |