Widget:File upload: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 47: | Regel 47: | ||
output = output.replace('<'+match+'>', filename); | output = output.replace('<'+match+'>', filename); | ||
}else{ | }else{ | ||
− | var val = document.querySelector('[name="'+match+'"]') | + | var val = document.querySelector('[name="'+match+'"]'); |
if(val){ | if(val){ | ||
+ | val = document.querySelector('[name="'+match+'"]').value; | ||
output = output.replace('<'+match+'>', val); | output = output.replace('<'+match+'>', val); | ||
}ß | }ß |
Versie van 7 sep 2020 09:12
This is the Widget:Multi upload page. It should be called in the following format:
{{#widget:Multi upload }}