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

dragdrop doesnt work if loaded via ajax #165

Open
cos2000 opened this issue Feb 7, 2022 · 0 comments
Open

dragdrop doesnt work if loaded via ajax #165

cos2000 opened this issue Feb 7, 2022 · 0 comments

Comments

@cos2000
Copy link

cos2000 commented Feb 7, 2022

When i add filestyle to a filefield in my html code, all works fine.

When the filefield is loaded via ajax and i add filestyle, all works fine, except the dragdrop functionality. The filefield is styled, all buttons are named as I defined it in filestyle and all works fine, but i cant drag anything. When i drop a file on the filefield nothing happens...

Tested in Firefox and Chrome - Both Browsers show the same behavior.

It doesnt matter if i add filestyle via inline scripting or external js file. The Problem only occures when i load the html code of the filefield via ajax...

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

1 participant