|
|
@ -84023,6 +84023,9 @@ BI.MonthCombo = BI.inherit(BI.Widget, { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
this.trigger.on(BI.MonthTrigger.EVENT_CONFIRM, function (v) { |
|
|
|
this.trigger.on(BI.MonthTrigger.EVENT_CONFIRM, function (v) { |
|
|
|
|
|
|
|
if (self.combo.isViewVisible()) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
if (this.getKey() && this.getKey() !== self.storeValue) { |
|
|
|
if (this.getKey() && this.getKey() !== self.storeValue) { |
|
|
|
self.setValue(this.getValue()); |
|
|
|
self.setValue(this.getValue()); |
|
|
|
} else if (!this.getKey()) { |
|
|
|
} else if (!this.getKey()) { |
|
|
@ -84041,9 +84044,6 @@ BI.MonthCombo = BI.inherit(BI.Widget, { |
|
|
|
self.combo.showView(); |
|
|
|
self.combo.showView(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.trigger.on(BI.MonthTrigger.EVENT_CHANGE, function () { |
|
|
|
|
|
|
|
self.combo.isViewVisible() && self.combo.hideView(); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.popup = BI.createWidget({ |
|
|
|
this.popup = BI.createWidget({ |
|
|
|
type: "bi.month_popup", |
|
|
|
type: "bi.month_popup", |
|
|
@ -91490,9 +91490,6 @@ BI.QuarterCombo = BI.inherit(BI.Widget, { |
|
|
|
this.trigger.on(BI.QuarterTrigger.EVENT_FOCUS, function () { |
|
|
|
this.trigger.on(BI.QuarterTrigger.EVENT_FOCUS, function () { |
|
|
|
self.storeValue = this.getKey(); |
|
|
|
self.storeValue = this.getKey(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.trigger.on(BI.QuarterTrigger.EVENT_CHANGE, function () { |
|
|
|
|
|
|
|
self.combo.isViewVisible() && self.combo.hideView(); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
this.trigger.on(BI.QuarterTrigger.EVENT_START, function () { |
|
|
|
this.trigger.on(BI.QuarterTrigger.EVENT_START, function () { |
|
|
|
self.combo.isViewVisible() && self.combo.hideView(); |
|
|
|
self.combo.isViewVisible() && self.combo.hideView(); |
|
|
|
}); |
|
|
|
}); |
|
|
|