Browse Source

REPORT-20064 fix: 编辑后事件

es6
windy 5 years ago
parent
commit
da5b54f619
  1. 2
      src/widget/dynamicdate/dynamicdate.combo.js
  2. 2
      src/widget/dynamicdatetime/dynamicdatetime.combo.js
  3. 2
      src/widget/time/time.combo.js

2
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";

2
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";

2
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";

Loading…
Cancel
Save