diff --git a/src/widget/dynamicdate/dynamicdate.combo.js b/src/widget/dynamicdate/dynamicdate.combo.js index 5cf8b37540..5c5480c2f8 100644 --- a/src/widget/dynamicdate/dynamicdate.combo.js +++ b/src/widget/dynamicdate/dynamicdate.combo.js @@ -64,6 +64,7 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateCombo.EVENT_KEY_DOWN); } }, { eventName: BI.DynamicDateTrigger.EVENT_STOP, @@ -282,6 +283,7 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, { } }); +BI.DynamicDateCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; diff --git a/src/widget/dynamicdatetime/dynamicdatetime.combo.js b/src/widget/dynamicdatetime/dynamicdatetime.combo.js index 6db4f7fded..e1f16e4138 100644 --- a/src/widget/dynamicdatetime/dynamicdatetime.combo.js +++ b/src/widget/dynamicdatetime/dynamicdatetime.combo.js @@ -64,6 +64,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.DynamicDateTimeCombo.EVENT_KEY_DOWN); } }, { eventName: BI.DynamicDateTimeTrigger.EVENT_STOP, @@ -285,6 +286,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { } }); +BI.DynamicDateTimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.DynamicDateTimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.DynamicDateTimeCombo.EVENT_FOCUS = "EVENT_FOCUS"; BI.DynamicDateTimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; diff --git a/src/widget/time/time.combo.js b/src/widget/time/time.combo.js index e9f0f0393f..207a07c1b3 100644 --- a/src/widget/time/time.combo.js +++ b/src/widget/time/time.combo.js @@ -78,6 +78,7 @@ if (self.combo.isViewVisible()) { self.combo.hideView(); } + self.fireEvent(BI.TimeCombo.EVENT_KEY_DOWN); } }, { eventName: "EVENT_STOP", @@ -211,6 +212,7 @@ } }); + BI.TimeCombo.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_VALID = "EVENT_VALID";