-
Notifications
You must be signed in to change notification settings - Fork 103
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
jquery issue with drag & drop sorting #109
Comments
I have encountered a similar issue. Therefore I think we should re-open it. I am not able to drop a dragged parent inline.
Admin classes:
The same issue with stacked inline for Works great for Log from Console (the error occurs while trying to drop):
Maybe I will have some time to investigate this issue and provide a fix, but chances are small. |
@dominem is it possible you have an old version of the nested-admin javascript from a previous collectstatic? |
@fdintino No, it is not possible. First of all, I have quite fresh OS installation. Secondly, this is a brand new django project. I have also disabled cache in Chrome, and the same error occurs.
Huh... Thanks! While writing this comment I came up with an idea. What if the
Now it works, thanks! I have a question - Why did not you bump up version after committing these changes? 😅 |
@dominem oh! I had assumed there was a new version released. I'll release 3.1.3 with this fix. |
@fdintino Great! Thanks! |
When trying to drag and drop using latest Django I encounter this error in my browser console when attempting to drag an drop:
TypeError: t.parentsUntil(...).size is not a function[Learn More] 69 jquery.ui.nestedsortable.js:27:20
I believe this is due to
size
being removed in jquery 3 andlength
should be used instead.I am using django 2.1.1 and django-nested-admin 3.1.2
The text was updated successfully, but these errors were encountered: