Opened 10 years ago

Closed 10 years ago

#10062 closed defect (fixed)

dojox.widget.Calendar3Pane does not set the year correctly.

Reported by: Tom Trenka Owned by: Shane O'Sullivan
Priority: high Milestone: 1.4
Component: DojoX Widgets Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description

When using Calendar3Pane, the dropdown to select the year and month seem to allow you to make a selection; however, the year value doesn't seem to be set correctly (it retains the original year on the widget).

Can duplicate with the nightly test on archive.dojotoolkit.org.

Change History (4)

comment:1 Changed 10 years ago by Shane O'Sullivan

Status: newassigned

comment:2 Changed 10 years ago by Tom Trenka

Hey Shane--

I don't know if it's the right approach or not but in CalendarViews?.js, lines 56 and 106, change:

var date = this.attr("value");

to

var date = this.parent.attr("value");

That seemed to do the trick.

comment:3 Changed 10 years ago by Shane O'Sullivan

(In [20601]) Refs #10062 Fixes the issue where the Calendar3Pane widget uses the wrong year.

comment:4 Changed 10 years ago by Shane O'Sullivan

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.