Opened 19 years ago
Closed 17 years ago
#1621 closed defect (duplicate)
manytomany admin widget broken under IE6.0 when in collapsed group
Reported by: | Olive | Owned by: | xian |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
when your uncollapse the first time then the right list show only one
entry (in fact it is a dropdown at this stage).
If you save without performing any other operation before, then only
the shown entry will saved in the database (others entries will be LOST
!).
I you move one or more entry from a list to the other then the normal
widget appearance is restored and a subsequent save operation works as
expected.
Change History (10)
comment:1 by , 19 years ago
priority: | highest → normal |
---|---|
Severity: | blocker → normal |
comment:2 by , 19 years ago
Hi,
Thank you for taking care of this.
If I can use Django/Dojo stuff then it will no more a blocker for me.
Could you please tell me how to integrate Django/Dojo ? (I'm sittting on MR branch)
comment:3 by , 19 years ago
Reading the Wiki page about Ajax I realised that some Dojo widgets are already use in Admin MR branch.
Is M2M a Dojo widget ?
comment:6 by , 18 years ago
I added a line to django/contrib/admin/media/js/CollapsedFieldsets.js
if (collapsed_seen) { // Expand all collapsed fieldsets when form is submitted. addEvent(findForm(document.getElementsByTagName('fieldset')[0]), 'submit', function() { CollapsedFieldsets.uncollapse_all(); }); } CollapsedFieldsets.uncollapse_all(); // <---------------------------------------------- },
I worked, but the page loads with the fieldsets uncollapsed now.
comment:7 by , 18 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:8 by , 17 years ago
Owner: | changed from | to
---|
Reassigning to xian since he's doing JS stuff for newforms-admin.
comment:9 by , 17 years ago
This one looks like a duplicate of #3110.
Could somebody check if that is true, and close as duplicate one?
comment:10 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
I'll take a look at this tomorrow and see if I can't roll a fix into the pending Django/Dojo stuff. Meanwhile, I don't think this is really a "highest priority" or "blocker" level of bug if it's gone the entire time from Django's original development at World Online a couple years ago and through eight months of public poking and prodding without anyone else catching it.