bootstrap-filestyle icon indicating copy to clipboard operation
bootstrap-filestyle copied to clipboard

dragdrop doesnt work if loaded via ajax

Open cos2000 opened this issue 3 years ago • 0 comments

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

cos2000 avatar Feb 07 '22 19:02 cos2000