fix a problem with ranming files containing spaces

This commit is contained in:
Robin Appelman 2011-08-08 18:05:39 +02:00
parent 8c34ea496a
commit 90726b10c4

View file

@ -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('');