Opened 16 years ago
Closed 16 years ago
#9642 closed (fixed)
make calender/clock window close normally in IE
Reported by: | northtea | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Keywords: | calender | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Attachments (1)
Change History (3)
by , 16 years ago
comment:1 by , 16 years ago
Version: | 1.0 → SVN |
---|
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [9514]) Fixed #9642 -- Made the admin calendar/clock popups go away when the users clicks outside them. The previous javascript code did not work on IE. Thanks northtea for the report and patch.