policybot/bassets/dropzone/dropzone-call.js

11 lines
299 B
JavaScript
Raw Normal View History

2021-11-30 10:56:55 +00:00
Dropzone.autoDiscover = false;
$(document).ready(function () {
$("#id_dropzone").dropzone({
maxFiles: 2000,
url: "/ajax_file_upload_handler/",
success: function (file, response) {
console.log(response);
}
});
})