make calender/clock window close normally in IE
|Reported by:||northtea||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In "django/contrib/admin/media/js/admin/DateTimeShortcuts.js", an "onClick" envent is attached to "window" object to close the calendar window. It works fine in Firefox, but not in IE.
I just change the attach target from "window" to "window.document" which goes well in IE.