Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#1141 closed defect (fixed)

Safari - Datepicker : NaN if click directly on day text

Reported by: guest Owned by: dylan
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked By: Blocking:


There is a problem selecting dates using the DatePicker? with Safari 2.0. If you click on the day text directly, the node passed with the event is a text node, but if you click on the cell outside of the text, the node passed is a table cell.

onSetDate in html/DatePicker.js assumes the node returned is a table cell, and uses innerHTML to retrieve the day number. This returns undefined in Safari if you click on the date text (nodeValue holds the day number).

Change History (3)

comment:1 Changed 14 years ago by dylan

Milestone: 0.4
Owner: changed from bill to dylan
Status: newassigned

I can take this one.

comment:2 Changed 14 years ago by dylan

Resolution: fixed
Status: assignedclosed

fixed in [4895], was also an issue with the TimePicker? widget.

comment:3 Changed 13 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.