Django

Code

Ticket #9642 (closed: fixed)

Opened 2 months ago

Last modified 2 months ago

make calender/clock window close normally in IE

Reported by: northtea Assigned to: nobody
Milestone: Component: django.contrib.admin
Version: SVN Keywords: calender
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

patch.txt (1.5 kB) - added by northtea on 11/20/08 01:37:46.

Change History

11/20/08 01:37:46 changed by northtea

  • attachment patch.txt added.

11/20/08 01:53:18 changed by northtea

  • needs_better_patch changed.
  • version changed from 1.0 to SVN.
  • needs_tests changed.
  • needs_docs changed.

11/21/08 08:52:58 changed by kmtracey

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #9642 (make calender/clock window close normally in IE)




Change Properties
Action