Opened 5 years ago

Closed 4 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:

Description

e.g. http://dojo-sandbox.net/neek/d91e6/1

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 5 years ago.
Dump of test page from sandbox

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by Nick Fenwick

Attachment: test.html added

Dump of test page from sandbox

comment:1 Changed 4 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.