Commit fd2890a1 authored by Victor Emanouilov's avatar Victor Emanouilov

[FIX] multiple drag'n'drop file upload work with new CSRF ticket rotation

parent 366d373c
Pipeline #50372108 failed with stages
in 27 minutes and 46 seconds
......@@ -174,7 +174,9 @@
complete: function (data) {
$('form.file-uploader-result input[name=ticket]').val(data.responseJSON.ticket);
ticket = data.responseJSON.ticket;
$('form.file-uploader-result input[name=ticket]').val(ticket);
$('form.file-uploader').data('ticket', ticket);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment