summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-11-16 10:47:20 +0100
committerRobin Appelman <robin@icewind.nl>2016-11-16 15:30:37 +0100
commitd5bfff6f4f85a0fcc5f28b7a39ef3b0266fd7db2 (patch)
tree06e7786f0a743438eded2d4ae9abc8c4c0c7afef /apps/files/js
parent07acd34d6e92e82becb8f5d364f7aad72d8ee219 (diff)
downloadnextcloud-server-d5bfff6f4f85a0fcc5f28b7a39ef3b0266fd7db2.tar.gz
nextcloud-server-d5bfff6f4f85a0fcc5f28b7a39ef3b0266fd7db2.zip
add comment for non empty text file
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index a9df023614c..1294a8d0c95 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -2158,7 +2158,7 @@
self.filesClient.putFileContents(
targetPath,
- ' ',
+ ' ', // dont create empty files which fails on some storage backends
{
contentType: 'text/plain',
overwrite: true