#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 , 19 years ago
Owner: | changed from | to
---|
comment:2 by , 19 years ago
milestone: | → Version 1.0 |
---|
comment:3 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 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.
(In [385]) Calendar next/prev popups now work in Safari (fixed #2)