|
|
|
@@ -2766,11 +2766,10 @@ $(document).ready(async () => { |
|
|
|
|
|
|
|
// Dropzone |
|
|
|
const $dropzone = $('#dropzone'); |
|
|
|
let maxFileTooltips=$dropzone.data('max-file-tooltips').format($dropzone.data('max-file'),$dropzone.data('max-size')) |
|
|
|
let maxSizeTooltips=$dropzone.data('max-size-tooltips').format($dropzone.data('max-file')) |
|
|
|
if ($dropzone.length > 0) { |
|
|
|
const filenameDict = {}; |
|
|
|
|
|
|
|
let maxFileTooltips=$dropzone.data('max-file-tooltips').format($dropzone.data('max-file'),$dropzone.data('max-size')) |
|
|
|
let maxSizeTooltips=$dropzone.data('max-size-tooltips').format($dropzone.data('max-file')) |
|
|
|
await createDropzone('#dropzone', { |
|
|
|
url: $dropzone.data('upload-url'), |
|
|
|
headers: {'X-Csrf-Token': csrf}, |
|
|
|
|