
/* /documents/static/src/js/documents_public_pages.js */
odoo.define('@documents/js/documents_public_pages',['@odoo/owl'],function(require){'use strict';let __exports={};const{whenReady}=require("@odoo/owl");whenReady().then(()=>{document.querySelectorAll('form[action*="/document/upload/"]').forEach(form=>{const input_csrf=document.createElement('input');input_csrf.type='hidden';input_csrf.name='csrf_token';input_csrf.value=odoo['csrf_token'];form.prepend(input_csrf);});})
return __exports;});