mirror of
https://codeberg.org/icewind/shelve.git
synced 2026-06-03 12:04:09 +02:00
use builtin multipart handling for form upload
This commit is contained in:
parent
c359239d27
commit
4d4108c83b
6 changed files with 163 additions and 712 deletions
|
|
@ -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 () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue