summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-08-08 18:05:39 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-08-08 18:05:39 +0200
commit90726b10c417cd53361a2c914b2fb9c7eb10aac4 (patch)
tree942a464e701e2c56761dafb1f8ae2980ace9b3f6 /files
parent8c34ea496ae8961c4aea29da67b2b1776034a2c4 (diff)
downloadnextcloud-server-90726b10c417cd53361a2c914b2fb9c7eb10aac4.tar.gz
nextcloud-server-90726b10c417cd53361a2c914b2fb9c7eb10aac4.zip
fix a problem with ranming files containing spaces
Diffstat (limited to 'files')
-rw-r--r--files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/js/filelist.js b/files/js/filelist.js
index 8fd3bceafb1..ce9595d3495 100644
--- a/files/js/filelist.js
+++ b/files/js/filelist.js
@@ -113,7 +113,7 @@ FileList={
var tr=$('tr[data-file="'+name+'"]');
tr.data('renaming',true);
var td=tr.children('td.filename');
- var input=$('<input value='+name+' class="filename"></input>');
+ var input=$('<input value="'+name+'" class="filename"></input>');
var form=$('<form action="#"></form>')
form.append(input);
td.children('a.name').text('');