Closed amcdnl closed 10 years ago
cannot call methods on sortable prior to initialization
errors (in most cases found in this Repo's issues) are a result of loading angularjs before jquery. We need to load jquery before angularjs, so that angular uses jquery as the dom querying engine instead of the angular-bundled jqlite. That way jquery-ui plugins will be fine using dom-collection objects that are familiar with.
In case that this does not resolves your issues, please fork the readme example that demonstrates the connected lists use case. The two sortables are already inside a repeater, so the changes needed should be as minimal as one extra line.
@thgreasi Thanks for the feedback. I was able to get it resolved by tweaking some actions that were causing re-execution due to recursion of my nested sortables.
Also, have you tried the Draggable -> Sort case: https://jqueryui.com/draggable/#sortable I was having some interesting results w/ it.
@amcdnl about draggable/#sortable take a look to #138
@thgreasi ya ... I started doing that but found the other way thought it might be better. Thanks for the update on that.
@amcdnl can you please provide further details on the solution you settled to? I`m trying to create a collection of useful use cases and add a FAQ.md with all of them.
When trying to do nested sortables I get a few errors like:
and
Code sample can be provided if needed.