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)

patch.txt (1.5 KB ) - added by northtea 16 years ago.

Download all attachments as: .zip

Change History (3)

by northtea, 16 years ago

Attachment: patch.txt added

comment:1 by northtea, 16 years ago

Version: 1.0SVN

comment:2 by Karen Tracey, 16 years ago

Resolution: fixed
Status: newclosed

(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.

Note: See TracTickets for help on using tickets.
Back to Top