summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-09-06 16:01:51 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-09-06 16:01:51 -0400
commitd936590f77ac314cbb682924bf281fccf996781b (patch)
treefc47646ee7bd768beadb1ed6ba86892cf76ee07f /apps
parent90462b2dcffd2ced85fb5c00557edef5ebcb3d4b (diff)
downloadnextcloud-server-d936590f77ac314cbb682924bf281fccf996781b.tar.gz
nextcloud-server-d936590f77ac314cbb682924bf281fccf996781b.zip
Don't pass content for a new text file from UI, fixes bug oc-1660
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 8229bfa24f1..101e2bad2e4 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -505,7 +505,7 @@ $(document).ready(function() {
case 'file':
$.post(
OC.filePath('files','ajax','newfile.php'),
- {dir:$('#dir').val(),filename:name,content:" \n"},
+ {dir:$('#dir').val(),filename:name},
function(result){
if (result.status == 'success') {
var date=new Date();