|
|
@ -71,6 +71,12 @@ BI.DateInterval = BI.inherit(BI.Single, { |
|
|
|
behaviors: o.behaviors, |
|
|
|
behaviors: o.behaviors, |
|
|
|
value: v, |
|
|
|
value: v, |
|
|
|
height: o.height, |
|
|
|
height: o.height, |
|
|
|
|
|
|
|
listeners: [{ |
|
|
|
|
|
|
|
eventName: BI.DynamicDateCombo.EVENT_BEFORE_POPUPVIEW, |
|
|
|
|
|
|
|
action: function () { |
|
|
|
|
|
|
|
self.fireEvent(BI.DateInterval.EVENT_BEFORE_POPUPVIEW); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}] |
|
|
|
}); |
|
|
|
}); |
|
|
|
combo.on(BI.DynamicDateCombo.EVENT_ERROR, function () { |
|
|
|
combo.on(BI.DynamicDateCombo.EVENT_ERROR, function () { |
|
|
|
self._clearTitle(); |
|
|
|
self._clearTitle(); |
|
|
@ -180,4 +186,5 @@ BI.DateInterval = BI.inherit(BI.Single, { |
|
|
|
BI.DateInterval.EVENT_VALID = "EVENT_VALID"; |
|
|
|
BI.DateInterval.EVENT_VALID = "EVENT_VALID"; |
|
|
|
BI.DateInterval.EVENT_ERROR = "EVENT_ERROR"; |
|
|
|
BI.DateInterval.EVENT_ERROR = "EVENT_ERROR"; |
|
|
|
BI.DateInterval.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.DateInterval.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
|
|
|
|
BI.DateInterval.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; |
|
|
|
BI.shortcut("bi.date_interval", BI.DateInterval); |
|
|
|
BI.shortcut("bi.date_interval", BI.DateInterval); |