﻿id summary reporter owner description type status priority milestone component version resolution keywords cc blockedby blocking 3146 Inconsistent year/month change notify (user callback) bavinckp@… grabanski "Changing month/year can be done in differnt ways: 1. prev/next button 2. select boxes 3. setDate 1. In all of these case the notify month/year (user callback function) should be send at the same time. My strong preference is for this to take place BEFORE the calendar is drawn. This is the behaviour of the prev/next buttons. 2. The select boxes also send the notify but AFTER the calendar has been drawn. This is unfortunate, because this prevents the developer to for instance update dynamic special day before the calendar is drawn. Suggested fix: change the order of ´this._adjustDate(target);´ and ´this._notifyChange(inst);´ in ""_selectMonthYear: function(id, select, period)"". 3. the setDate does not send a notify at all (add ´this._notifyChange(inst);´ before ´this._updateDatepicker(inst);´ in ´_setDateDatepicker: function(target, date, endDate)´, preferably with some intelligence checking whether month-year actually changed. " bug closed major ui.datepicker 1.5.2 fixed onChangeMonthYear