Thursday, August 5, 2010

Re: Jquery-ui in admin: c is undefined

On Aug 5, 5:22 am, David De La Harpe Golden
<david.delaharpe.gol...@ichec.ie> wrote:
>
> In theory you could probably "re-conflict" it, i.e. grab the
> django.jQuery and put it back into the global scope as
>  Query (and maybe $ - jquery-ui uses jQuery) ...but I wouldn't
> recommend it, just look at the admin jquery as an implementation detail
> and supply your own for your own uses.

Would be nice if this were mentioned in the Django docs somewhere - I
wasted a lot of time on this same problem the other day, not wanting
to load my own jQuery because I could plainly see that it was already
there and not wanting to double-load it, then finally realizing that
double-loading it was the only way to fix it.

./s

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate