ninesurvey/src/ninesurvey-1.0/assets/js/dropzone.js

11 lines
358 B
JavaScript
Raw Normal View History

2020-11-12 11:58:50 +01:00
require('dropzone/dist/min/dropzone.min.css');
window.Dropzone = require('dropzone/dist/min/dropzone.min.js');
//Dropzone.autoDiscover = false;
/*
document.addEventListener('DOMContentLoaded', function() {
var elt = document.getElementById('mydropzone');
var mydropzone = new Dropzone(elt, { url: "upload"});
global.mydropzone=mydropzone;
});
*/