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

$ is not a function #5

Open
markolofsen opened this issue Sep 12, 2018 · 5 comments
Open

$ is not a function #5

markolofsen opened this issue Sep 12, 2018 · 5 comments

Comments

@markolofsen
Copy link

abc

abc2

@Kemaweyan
Copy link
Owner

Which version of Django are you using? Is there jQuery defined?

@markolofsen
Copy link
Author

django==2.0.4
It's so strange, library connected but not defined.

@markolofsen
Copy link
Author

No ideas?)

@jenia0jenia
Copy link

django.__version__ == '2.1.1'

I tried to repair.
First you need to change one string in

%env%/lib/python%ver%/site-packages/content_gallery/static/content_gallery/js/content-gallery-view.js (.min without debug)

})(jQuery);

to

})(django.jQuery);

no more errors in console but still no draggable images to delete. Now i will try to fix this. Write later if need

@markolofsen
Copy link
Author

@jenia0jenia Better if you fix it in repo, thanks a lot!

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

3 participants