Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Multi-Thinker opened this issue Mar 5, 2016 · 2 comments
Open

Comments

@Multi-Thinker
Copy link

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
Copy link
Author

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

@pekebyte
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants