Opened 11 years ago

Closed 11 years ago

Last modified 9 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: UI/UX:

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 Changed 11 years ago by Adrian Holovaty

Owner: changed from Adrian Holovaty to Jacob

comment:2 Changed 11 years ago by Jacob

milestone: Version 1.0

comment:3 Changed 11 years ago by Jacob

Resolution: fixed
Status: newclosed

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

comment:4 Changed 11 years ago 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.

comment:5 Changed 11 years ago by anonymous

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

comment:6 Changed 10 years ago by (none)

milestone: Version 1.0

Milestone Version 1.0 deleted

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