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: this.dragDirection is undefined #2151

Closed
gtbu opened this issue Jan 23, 2023 · 2 comments
Closed

Uncaught TypeError: this.dragDirection is undefined #2151

gtbu opened this issue Jan 23, 2023 · 2 comments

Comments

@gtbu
Copy link

gtbu commented Jan 23, 2023

I changed in Typesetter CMS from UI 11.4 to 13.2 and suddenly get in the pagemanager the error in sortable.js : Uncaught TypeError: this.dragDirection is undefined .
The string ' dragDirection' exists only in sortable.js 13.2 (with sortable.js v11.4 and ui 13.2 everything functions - and in sortable v11.4 exists no 'this.dragDirection' - so it must be the debugger : this.dragDirection exists 4 times in sortable.js 13.2)
Is it really undefined , and if - how can i define the Type ? --- var dragDirection =""; in line 410 has no effect ?
P.S. This error is not under Xampp but only in Web-installations.

@mgol
Copy link
Member

mgol commented Jan 24, 2023

Are you using the nestedSortable jQuery plugin? If so, it’s a duplicate of #1997.

@gtbu
Copy link
Author

gtbu commented Jan 24, 2023

Yes - replacement of nested sortable 1.34 with version 2.1a solves the problem.

@gtbu gtbu closed this as completed Jan 24, 2023
@mgol mgol closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants