I need to initialize DropzoneJS with the dynamic url, which must be obtained via ajax call. How to do that without async: false? Result url will depend on files argument.
$('.class').dropzone({
url: function(files) {
var url;
// ajax call here
return url;
},
});