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

Uncaught TypeError: Cannot read property 'key' of undefined #1108

Closed
gsdaemon opened this issue Oct 25, 2017 · 0 comments
Closed

Uncaught TypeError: Cannot read property 'key' of undefined #1108

gsdaemon opened this issue Oct 25, 2017 · 0 comments
Labels

Comments

@gsdaemon
Copy link

Looks like when deleting a file from the middle and then trying to sort the remaining file it will throw this error:
image

Steps to reproduce:

  1. Go to this demo page: http://plugins.krajee.com/file-input-ajax-demo/4
  2. Upload 3 files
  3. Move/Sort the 3rd file into the second place
  4. Delete it
  5. Try to sort the remaining 2 files and look in the console

Looks like the self.initialPreviewConfig is being spliced twice

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

No branches or pull requests

2 participants