summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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('');