Opened 12 years ago

Closed 12 years ago

#9642 closed (fixed)

make calender/clock window close normally in IE

Reported by: northtea Owned by: nobody
Component: contrib.admin Version: master
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


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 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by northtea

Attachment: patch.txt added

comment:1 Changed 12 years ago by northtea

Version: 1.0SVN

comment:2 Changed 12 years ago by Karen Tracey

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