Opened 7 years ago

Closed 6 years ago

#18441 closed defect (patchwelcome)

MonthAndYearlyCalendar Cancel button does not do anything

Reported by: Nick Fenwick Owned by: dante
Priority: undecided Milestone: 1.13
Component: DojoX Widgets Version: 1.10.3
Keywords: Cc:
Blocked By: Blocking:



Open a MonthAndYearlyCalendar? and click Cancel.

Expected result: calendar dropdown should disappear, perhaps reverting any month/year selection that has taken place.

Actual result: nothing happens, onCancel function in _CalendarMonthYearView.js calls this.onValueSelected(this.get("value")) which doesn't seem to achieve anything.

I presume the code was written for a scenario where choosing a date automatically closes the popup, which is not the case for MonthAndYearlyCalendar?. It allows free selection of dates, only closing when OK is pressed.

Attachments (1)

test.html (874 bytes) - added by Nick Fenwick 7 years ago.
Dump of test page from sandbox

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by Nick Fenwick

Attachment: test.html added

Dump of test page from sandbox

comment:1 Changed 6 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in almost a year, I'm closing this as patchwelcome. Please let us know if you would like to get involved in helping make this change to Dojo!

Note: See TracTickets for help on using tickets.