raw id fields' popups in generic inlines fail in IE 6/7
|Reported by:||jsmullyan||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.
Change History (4)
Changed 5 years ago by jsmullyan
comment:1 Changed 5 years ago by jsmullyan
- Has patch set
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset