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

Folder input drag and drop not finding files in a folder #1876

Closed
8 of 18 tasks
MarkGooding opened this issue Dec 10, 2024 · 1 comment
Closed
8 of 18 tasks

Folder input drag and drop not finding files in a folder #1876

MarkGooding opened this issue Dec 10, 2024 · 1 comment

Comments

@MarkGooding
Copy link
Contributor

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest master branch of bootstrap-fileinput.
  • This is not an usage question. I confirm having read the plugin documentation and demos.
  • This is not a general programming / coding question. (Those should be directed to the webtips Q & A forum).
  • I have attempted to find the simplest possible steps to reproduce the issue.
  • I have included a failing test as a pull request (Optional).

Steps to reproduce the issue

  1. Using Chrome 131.0.6778.109 with developer tools open
  2. Following example on https://plugins.krajee.com/file-folder-upload-demo for folder upload using ajax
  3. Upload a folder

Expected behavior and actual behavior

When I follow those steps, the files are not added to the drag and drop preview. Chrome developer tools console reads:
Uncaught ReferenceError: i is not defined
at a._addFilesFromSystem (fileinput.min.js?ver=202206191928:11:55410)
at a._zoneDrop (fileinput.min.js?ver=202206191928:11:55633)
at HTMLDivElement.i (jquery-3.7.1.min.js:2:86755)
at HTMLDivElement.dispatch (jquery-3.7.1.min.js:2:40035)
at v.handle (jquery-3.7.1.min.js:2:38006)

I was expecting the files to be added to the preview for upload

Environment

Browsers

  • Google Chrome (131.0.6778.109)
  • Mozilla Firefox
  • Internet Explorer
  • Safari

Operating System

  • Windows
  • Mac OS X
  • Linux
  • Mobile

Libraries

  • jQuery version: 3.7.1
  • bootstrap-fileinput version: 5.5.4 & master

Isolating the problem

@kartik-v
Copy link
Owner

Resolved via #1877.

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