pekeUpload icon indicating copy to clipboard operation
pekeUpload copied to clipboard

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

Open Multi-Thinker opened this issue 8 years ago • 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..

Multi-Thinker avatar Mar 05 '16 08:03 Multi-Thinker

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..

Multi-Thinker avatar Mar 05 '16 08:03 Multi-Thinker

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

pekebyte avatar Jul 17 '16 05:07 pekebyte