#9543: raw id fields' popups in generic inlines fail in IE  6/7
----------------------------------+-----------------------------------------
 Reporter:  jsmullyan             |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  django.contrib.admin  |     Version:  1.0       
 Keywords:                        |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 When using a raw id field in a generic inline, the popup will not work in
 IE 6/7.  Instead of popping up the select-to-add form, the javascript
 click handler fails, and the document is replaced by a select-to-change
 form.

 This happens because generic inlines use dashes in their field ids, and
 this field id is used to construct the window name passed to window.open()
 -- but IE doesn't permit dashes in window names.  There is already some
 code in place to deal with IE's similar allergy to periods, by replacing
 then with double underscores; I attach a patch to deal with dashes in the
 same manner.

 This patch works for django-1.0.X and django trunk.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9543>
Django <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 django-updates@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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to