web: fix content type for folders form

Fixes #367
This commit is contained in:
Nicola Murino
2021-04-01 19:42:18 +02:00
parent 2f56375121
commit 6eb43baf3d
3 changed files with 51 additions and 27 deletions

View File

@@ -27,7 +27,7 @@
</div>
</div>
{{end}}
<form id="folder_form" action="{{.CurrentURL}}" method="POST" autocomplete="off" {{if eq .Mode 3}}target="_blank"{{end}}>
<form id="folder_form" enctype="multipart/form-data" action="{{.CurrentURL}}" method="POST" autocomplete="off" {{if eq .Mode 3}}target="_blank"{{end}}>
{{if eq .Mode 3}}
<div class="form-group row">
<label for="idFolders" class="col-sm-2 col-form-label">Folders</label>