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

Not sortable if wrapped in another li tag #13

Open
Cartman34 opened this issue Sep 26, 2013 · 0 comments
Open

Not sortable if wrapped in another li tag #13

Cartman34 opened this issue Sep 26, 2013 · 0 comments

Comments

@Cartman34
Copy link

Hi,

First, thanks for this great plugin.

Then, the title is very explicit, this plugin is not working if we use a ul/li list in another li tag.
The items (li) are selectable but not sortable. And if we use it with the original sortable plugin only, it works.

I'm testing with the last version from the given jQuery & jQuery UI files.
I tried with my own recent files (resp. 1.10.10 and 1.10.3).

My solution is to specify the items option using a class that any parent does not match like "li.file".
This is working well but the fact is that plugin has a problem with wrapping li tags.

Here is the fiddle with all tests:
http://jsfiddle.net/Loenix34/h2KrX/5/

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

1 participant