|
|
@ -68,8 +68,7 @@ BI.YearPopup = BI.inherit(BI.Widget, { |
|
|
|
items: [this.backBtn, this.preBtn] |
|
|
|
items: [this.backBtn, this.preBtn] |
|
|
|
}, |
|
|
|
}, |
|
|
|
cardCreator: BI.bind(this._createYearCalendar, this), |
|
|
|
cardCreator: BI.bind(this._createYearCalendar, this), |
|
|
|
|
|
|
|
afterCardCreated: function () { |
|
|
|
afterCardShow: function () { |
|
|
|
|
|
|
|
this.setValue(self.selectedYear); |
|
|
|
this.setValue(self.selectedYear); |
|
|
|
var calendar = this.getSelectedCard(); |
|
|
|
var calendar = this.getSelectedCard(); |
|
|
|
calendar && self.backBtn.setEnable(!calendar.isFrontYear()); |
|
|
|
calendar && self.backBtn.setEnable(!calendar.isFrontYear()); |
|
|
|