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

disableSelection error - plugin doesnt work #33

Closed
stefunkk opened this issue Nov 18, 2020 · 2 comments
Closed

disableSelection error - plugin doesnt work #33

stefunkk opened this issue Nov 18, 2020 · 2 comments

Comments

@stefunkk
Copy link

Hi,

I have latest version of octoprint from docker, and file manager from plugin manager. When I switch window to file manager I cant do anything, web console shows me an error:

packed_plugins.js?c9da6618:716 Uncaught TypeError: $(...).disableSelection is not a function
at HTMLDivElement. (packed_plugins.js?c9da6618:716)
at HTMLDivElement.dispatch (packed_libs.js?ab739628:1)
at HTMLDivElement.v.handle (packed_libs.js?ab739628:1)

I found also this:

https://api.jqueryui.com/disableSelection/#disableSelection

@stefunkk
Copy link
Author

https://github.com/Salandora/OctoPrint-FileManager/blob/master/octoprint_filemanager/static/js/ko.single_double_click.js

26 and 28 lines have to be removed.

Was it possible before to enter directory, because I can get into any.

@Salandora
Copy link
Owner

@stefunkk sorry for the delay.
@jneilliii fixed the issue and made a PR. I just merged it.
Will make a compatibility release right away.

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