bootstrap-filestyle
bootstrap-filestyle copied to clipboard
change event not triggered on drag & drop
When you drag and drop files to the component change event is not fired. Tried on Chrome and Firefox.
in
on('drop',
after (line 316)
$('[name="filedrag"]').css('z-index', '-1');
there should be
_self.options.onChange(files);
This doesn't check if files dropped are actually different from previous state, but at least it fires the event.