Opened 20 years ago

Closed 20 years ago

Last modified 18 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
Pull Requests:18619 build:success, 19162 merged, 19134 unmerged, 19053 merged, 19060 merged, 19055 merged, 18872 merged, 18815 merged, 18855 merged, 18663 merged, 18662 merged, 18476 unmerged, 7778 unmerged, 17351 merged, 18127 merged, 18360 merged, 18274 merged, 18074 merged, 18140 merged, 17781 merged, 18063 merged, 17793 merged, 18038 merged, 18077 unmerged, 17721 merged, 17843 merged, 17627 merged, 17648 merged, 17595 merged, 17630 merged

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, 20 years ago

Owner: changed from Adrian Holovaty to Jacob

comment:2 by Jacob, 20 years ago

milestone: Version 1.0

comment:3 by Jacob, 20 years ago

Resolution: fixed
Status: newclosed

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

comment:4 by ksenia, 20 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, 20 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