Django

Code

Ticket #2 (closed: fixed)

Opened 3 years ago

Last modified 1 year ago

Calendar popup - next/previous month links close the popup in Safari

Reported by: anonymous Assigned to: jacob
Milestone: Component: Admin interface
Version: Keywords:
Cc: Triage Stage: Accepted
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

In Safari 2.0 on Tiger, the next/previous month links close the popup. There's no way to get to a different month.

Attachments

Change History

07/14/05 13:44:22 changed by adrian

  • owner changed from adrian to jacob.

08/01/05 14:59:27 changed by jacob

  • milestone set to Version 1.0.

08/02/05 12:45:53 changed by jacob

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

(In [385]) Calendar next/prev popups now work in Safari (fixed #2)

08/02/05 12:46:18 changed by ksenia

There seems to be a problem in event ordering: "onclick" event of window is called *before" javascript event in the calendar next/previous link, so calendar is closed before it gets changed. First I tried to change the code in quickElement function in order to handle events with "addEvent" function instead of "setAttribute". But it didn't seem to help. Next try was to put javascript in "onmousedown" event of the anchor instead of "href" property. It did help; next month is selected, but window.onclick still fired after onmousedown event, so calendar gets closed. I tried to stop event propagation after onmousedown -- with no luck. I tried preventDefault(), stopPropagation(), even event.returnValue = false.. Nothing seems to stop the event. Don't have any more time for this, unfortunately. Hope this information helps somebody to solve the problem.

08/02/05 12:50:17 changed by anonymous

Well, ignore my stupid post :-)) Thanks jacob.

01/17/07 16:12:17 changed by

  • milestone deleted.

Milestone Version 1.0 deleted


Add/Change #2 (Calendar popup - next/previous month links close the popup in Safari)




Change Properties
Action