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

Does not display item data in the first run #16

Open
mustafabereket opened this issue Jan 22, 2016 · 8 comments
Open

Does not display item data in the first run #16

mustafabereket opened this issue Jan 22, 2016 · 8 comments

Comments

@mustafabereket
Copy link

Hi,

I am trying to use this nestable, but I have a problem:
screen shot 2016-01-21 at 5 43 52 pm

When I first go into the page, it shows the nestable list and its tree fine, however their names doesnt show up.
Everything works fine after I refresh the page, but it doesnt work when I first go to the page and I get this error:
"root.nestable" is not a function

Any help would be so appreciated.
Thanks!

@mustafabereket
Copy link
Author

Anyone can help me with this?

@juniorfoo
Copy link

I had the same problem - for me it was that wiredep was not adding in the jquery.nestable.* files.

@mjaniko
Copy link

mjaniko commented Mar 21, 2016

i am having same problem, it happens in angular version

@Romz
Copy link

Romz commented Mar 23, 2016

Hi mustafabereket.

I had the the same issue. I fixed it by including lib/jquery.nestable.js.

But it seems that $item isn't evaluated.

@Romz
Copy link

Romz commented Mar 23, 2016

The variable "$element" in ngNestableItem link function is an instance of jQlite and the data("item") is undefined. using jQuery($element[0]) seems to work.

@mustafabereket
Copy link
Author

I already added jquery.nestable.js, so I am curious what is the reason? What else can I do? Can you let me know you there is something else to do?

@Romz
Copy link

Romz commented Mar 24, 2016

For me, inlcude the jquery.nestable.js solved "root.nestable is not a function" error.
Try to include jquery before the angular.js file.
It solves empty list for me.

@Romz
Copy link

Romz commented Mar 25, 2016

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

4 participants