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

jQuery UI required but not included #3

Open
jnm opened this issue Nov 20, 2013 · 1 comment
Open

jQuery UI required but not included #3

jnm opened this issue Nov 20, 2013 · 1 comment
Assignees
Labels

Comments

@jnm
Copy link
Member

jnm commented Nov 20, 2013

I know how much you hate it, but shapeshift won't run without jQuery UI: it fails on line 1 of jquery.shapeshift.min.js with Uncaught TypeError: Object [object Object] has no method 'droppable', and all the dashlets just stack up on top of each other.

It can be hacked to work by including jQuery UI from a CDN, i.e. putting <script type="text/javascript" src="//code.jquery.com/ui/1.10.3/jquery-ui.js"></script> in templates/responsive_dashboard/dashboard.html, but maybe you want to do that conditionally or something.

@ghost ghost assigned bufke Nov 20, 2013
@bufke
Copy link
Member

bufke commented Nov 20, 2013

A settings.py conditional seems ideal to me. I am indeed not a fan of not downloading 10 copies of jquery.

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

No branches or pull requests

2 participants