Reputation: 157
Has anyone encountered an issue with using drag-and-drop feature in KCFinder?
This is what I am experiencing, if I drag-and-drop an image to the root folder, it works like a charm.
However, when I drag-and-drop an image to a subfolder, it creates multiple copies of the same image.
Any advices will be greatly appreciated.
Many thanks.
Upvotes: 4
Views: 653
Reputation: 703
drag/drop EventHandler gets applied each time you change directory, or create new directory. for avoiding this delete or comment on following functions.
_.expandDir
function remove or comment _.initDropUpload()
_.initDropUpload()
function in menus.js
files _.menuDir
functionUpvotes: 0
Reputation: 4042
I'm not sure if you have solved this issue on your own.
But I'm aware that kcfinder github hasn't been updated in over 2 Years (I suspect is now "Abandonware")
This being said, I've been maintaining some of the bugs on kcfinder including this one (for ProDev Ltd), Currently in my fork. I've fixed following bugs with the Image Service with version 3.12
You can find my revision(s) on prodev kcfinder fork
Upvotes: 2