Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Error: cannot call methods on sortable prior to initialization; attempted to call method 'option' #153

Closed
wants to merge 1 commit into from

Conversation

billyct
Copy link

@billyct billyct commented Apr 9, 2014

when i use the ui-route and come out with the "Error: cannot call methods on sortable prior to initialization; attempted to call method 'option'".so give a small change when the sortable page is not removed then dont do sortable('option')

when i use the ui-route and come out with the "Error: cannot call methods on sortable prior to initialization; attempted to call method 'option'".so give a small change when the sortable page is not removed then dont do sortable('option')
@thgreasi
Copy link
Contributor

thgreasi commented Apr 9, 2014

Since some tests seem to not pass, can you provide an example based on this pen to investigate it?

@billyct
Copy link
Author

billyct commented Apr 10, 2014

i write a pen that based on the example http://codepen.io/billyct/pen/lthmC
and when you click the "parent.children" , the error come out.it seems that the jquery ui sortable can't get the target to do sortable('option'...)

@thgreasi
Copy link
Contributor

Thanks, I will investigate it tonight.

@billyct
Copy link
Author

billyct commented Apr 10, 2014

thx

@thgreasi
Copy link
Contributor

Closed by #155.
Please test your use case with the current master branch.

@thgreasi thgreasi closed this Apr 10, 2014
@billyct
Copy link
Author

billyct commented Apr 11, 2014

ok ,thx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants