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 set property 'disabled' of undefined - elfinder.full.js:4978 #1689

Closed
paulcanning opened this issue Oct 4, 2016 · 3 comments
Assignees

Comments

@paulcanning
Copy link

I am suddenly seeing this appear in the console.

@paulcanning
Copy link
Author

// for compat <= v2.1.13
if (file.disabled) {
    self.volOptions[file.volumeid].disabled = file.disabled;
}

Seems file.disabled is coming through as an array, so I think this is totally broken. I've commented it out and everything works fine for me, but if you want the backwards compatibility, you need to fix this.

@nao-pon nao-pon self-assigned this Oct 4, 2016
@nao-pon nao-pon closed this as completed in a217112 Oct 4, 2016
@nao-pon
Copy link
Member

nao-pon commented Oct 4, 2016

@paulcanning Thanks! By the way, your environment is different from the JavaScript and PHP connector versions of elFinder. PHP of the file does not seem to be updated.

@paulcanning
Copy link
Author

All my files are up to date... v 2.1.15

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

No branches or pull requests

2 participants