#8058: FilteredSelectMultiple widget should include required Javascript files
--------------------------------------+-------------------------------------
Reporter: Erwin | Owner: nobody
Status: new | Milestone: 1.0
Component: Admin interface | Version: SVN
Resolution: | Keywords: aug22sprint
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by cgrady):
* keywords: => aug22sprint
Comment:
at the sprint today we were unable to replicate the issue here exactly
(though we were quite close), but I believe the fix doesn't require
duplicating it exactly
however, this turned out to be slightly more involved than the original
patch - the js for the widget was being added in !ModelAdmin for some
reason instead of from the !FilteredSelectMultiple widget - in addition,
the !RelatedFieldWidgetWrapper that admin wraps around the
!FilteredSelectMultiple widget wasn't passing along the media from the
inner widget, so even with the js media settings, it wasn't being passed
on to the template :)
attaching a patch which I believe will fix the issue as well as making the
widget work correctly in non-admin pages
--
Ticket URL: <http://code.djangoproject.com/ticket/8058#comment:3>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---