Gosh, you're right. From the source of admin:
<script type="text/javascript"
src="/media/js/admin/CollapsedFieldsets.js"></script>

Thanks a lot,

Alan

On Fri, Feb 13, 2009 at 12:51, Daniel Roseman <roseman.dan...@googlemail.com
> wrote:

>
> On Feb 13, 11:23 am, Alan <alanwil...@gmail.com> wrote:
> > Indeed, I have been looking athttp://
> docs.djangoproject.com/en/dev/intro/tutorial02/#s-customize-th...
> > used 'classes': ['collapse'] in my admin page to see how it works and
> > I
> > don't see any javascript there and I don't believe page is been reloaded.
>
> You won't get anywhere without at least some javascript. The admin
> loads the CollapsedFieldsets.js script from contrib/admin/media/js/
> admin/ to make the show/hide functionality work whenever there's at
> least one collapsible fieldset in the form.
> --
> DR.
> >
>


-- 
Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate
Department of Biochemistry, University of Cambridge.
80 Tennis Court Road, Cambridge CB2 1GA, UK.
>>http://www.bio.cam.ac.uk/~awd28<<

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to