Opened 13 years ago

Closed 13 years ago

#1628 closed defect (worksforme)

click-dragging across the DatePicker causes error.

Reported by: guest Owned by: tk
Priority: high Milestone: 1.0
Component: General Version: 0.3
Keywords: Cc: sjzabel@…
Blocked By: Blocking:

Description

dojo version 0.31 IE 6.0 & FF 1.5.0.7

If you button down on one date, then drag across to another date and button up, it causes an error.

here is how I patched it. in widget/html/DatePicker.js - onSetDate

I changed this.date = new Date(year, month, evt.target.innerHTML); this.setDate(dojo.widget.DatePicker?.util.toRfcDate(this.date)); this.initUI();

to

var buf = evt.target.innerHTML; if(isNaN(buf)) {} else {

this.date = new Date(year, month, buf); this.setDate(dojo.widget.DatePicker?.util.toRfcDate(this.date)); this.initUI();

}

Stephen Zabel sjzabel@…

Change History (2)

comment:1 Changed 13 years ago by bill

Milestone: 0.6
Owner: changed from anonymous to tk

comment:2 Changed 13 years ago by Adam Peller

Cc: sjzabel@… added
Resolution: worksforme
Status: newclosed

Seems to have gotten fixed in the 0.4 rewrite

Note: See TracTickets for help on using tickets.