pekebyte/pekeUpload

Enable Drag mode disable click mode, click mode didn't work

Opened this issue · 2 comments

Hi, I can see drag mode is picking files from orignalEvent.dataTransfer.files and it is working fine without progress bar,

when i click on container to pick file, it just did not show anything at all..

I've fixed the code by adding change event on this.obj.change so when input[type=file] get something it fire the checkFile phase.

this.obj.change(function(){
                    var files =  this.files;

                    for (var i = 0; i < files.length; i++) {

                        pekeUpload.checkFile(files[i]);

                    }

                });

but it should be fixed on core files too..

Hi, thanks for using pekeUpload. I noticed the problem and I updated the issue, actually is fixed on the version 2.1.1 2c9f3ba. Please download and report if the problem persists!