On 6/26/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > On 6/20/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > > > Yep. None of the javascript stuff really works right now. The calendar > > and picker widgets for date and time fields, for instance, are broken. > > Sounds like a good opportunity to plug ticket #4418 - widget level > support for specifying media (javascript/css) requirements. > > I haven't gone back to retrofit this into newforms-admin (or even had > a chance to look at the new edit-inline stuff), but I'd be interested > on any feedback on how the edit-inline changes would affect this > approach.
Thanks for bringing this up Russ. The problem at the moment is that the admin doesn't look at any of the inlines when figuring out what javascript to load, so if your inlines have date fields, the js doesn't get loaded unless the parent has a date field. I don't think #4418 causes any problems for the new edit inline stuff. In fact it makes it easier. I was going to have to solve the duplicate problem, but I forgot about #4418. I think the widgets for each inline model just need to be included with the widgets from them main form when combining each widget.media together. Joseph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---