1
0
Fork 0
mirror of https://codeberg.org/icewind/shelve.git synced 2026-06-03 20:14:08 +02:00

use builtin multipart handling for form upload

This commit is contained in:
Robin Appelman 2021-07-30 15:13:39 +02:00
commit 4d4108c83b
6 changed files with 163 additions and 712 deletions

View file

@ -285,7 +285,7 @@
var ajaxFlag = document.createElement('input');
ajaxFlag.setAttribute('type', 'hidden');
ajaxFlag.setAttribute('name', 'ajax');
ajaxFlag.setAttribute('value', 1);
ajaxFlag.setAttribute('value', 'true');
form.appendChild(ajaxFlag);
box.addEventListener('click', function () {