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+']').value; | + | var val = document.querySelector('[name="'+match+'"]').value; |
if(val){ | if(val){ | ||
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 }}