flows: fix shell not showing spinner after submit

This commit is contained in:
Jens Langhammer 2020-07-26 22:15:50 +02:00
parent ddb0fdee98
commit a9b5e6ea13

View file

@ -137,6 +137,7 @@ const setFormSubmitHandlers = () => {
form.addEventListener('submit', (e) => {
e.preventDefault();
let formData = new FormData(form);
showSpinner();
fetch(flowBodyUrl, {
method: 'post',
body: formData,