templates: apply fileupload js to cart@ds file widgets (#52229)

This commit is contained in:
Frédéric Péters 2021-03-19 11:30:33 +01:00
parent c46010d7cb
commit 6d4596de4b
1 changed files with 5 additions and 0 deletions

View File

@ -40,4 +40,9 @@ $('button.plus').on('click', function() {
}
return false;
});
$(function() {
$('.cartads-piece .file-upload-widget').each($.WcsFileUpload.prepare);
});
</script>