Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#2 closed defect (fixed)

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

Reported by: anonymous Owned by: Jacob
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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.

Change History (6)

comment:1 by Adrian Holovaty, 19 years ago

Owner: changed from Adrian Holovaty to Jacob

comment:2 by Jacob, 19 years ago

milestone: Version 1.0

comment:3 by Jacob, 19 years ago

Resolution: fixed
Status: newclosed

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

comment:4 by ksenia, 19 years ago

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.

comment:5 by anonymous, 19 years ago

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

comment:6 by (none), 18 years ago

milestone: Version 1.0

Milestone Version 1.0 deleted

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