Space
This commit is contained in:
parent
0cdac57abb
commit
98a85870bb
@ -13,12 +13,11 @@ $(function(){
|
||||
$('.configurator-opt-file').fileupload({
|
||||
dataType: 'json',
|
||||
done: function (e, data) {
|
||||
$.each(data.result.files, function (index, file) {
|
||||
$.each(data.result.files, function (index, file) {
|
||||
// Set hidden field
|
||||
$('input[name='+$(e.target).data('field')+']').val(file.name);
|
||||
// Set Response
|
||||
$('span#response-'+$(e.target).data('field')).text(file.name).trigger('change');
|
||||
|
||||
$(e.target).parent().find('span.filename').text('');
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user