templates: apply fileupload js to cart@ds file widgets (#52229)
gitea-wip/publik-base-theme/pipeline/head There was a failure building this commit Details
gitea/publik-base-theme/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Frédéric Péters 2021-03-19 11:30:33 +01:00
parent 575a0394aa
commit 75264c98a3
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>