Here we go, updated based on the comments below.
How to disable the “click to open dialog” dropzone event when maxFiles is reached:
$('.dropzone').dropzone({ maxFiles: 10, init: function() { this.on('maxfilesreached', function() { $('.dropzone').removeClass('dz-clickable');
I don’t know how reliable "1" is in this.listeners[1] , but that the click event function lives in my current dropzone configuration.
bloodyKnuckles Jun 12 '14 at 21:06 2014-06-12 21:06
source share