windy 4 years ago
parent
commit
65b183e667
  1. 4
      src/widget/date/calendar/popup.month.js

4
src/widget/date/calendar/popup.month.js

@ -40,8 +40,8 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
value: o.value value: o.value
}); });
this.month.on(BI.Controller.EVENT_CHANGE, function (type) { this.month.on(BI.Controller.EVENT_CHANGE, function (type, value) {
self.selectedMonth = this.getValue()[0]; self.selectedMonth = value;
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
if (type === BI.Events.CLICK) { if (type === BI.Events.CLICK) {
self.fireEvent(BI.MonthPopup.EVENT_CHANGE); self.fireEvent(BI.MonthPopup.EVENT_CHANGE);

Loading…
Cancel
Save