Browse Source

事件名

es6
windy 4 years ago
parent
commit
dca95db775
  1. 2
      src/widget/datepane/datepane.js
  2. 2
      src/widget/datetimepane/datetimepane.js

2
src/widget/datepane/datepane.js

@ -123,7 +123,7 @@ BI.DynamicDatePane = BI.inherit(BI.Widget, {
action: function () {
var type = self.dateTab.getSelect();
if (type === BI.DynamicDateCombo.Dynamic) {
self.dynamicPane.checkValidation(true) && self.fireEvent(BI.DynamicDatePopup.BUTTON_OK_EVENT_CHANGE);
self.dynamicPane.checkValidation(true) && self.fireEvent(BI.DynamicDatePopup.EVENT_CHANGE);
} else {
self.fireEvent(BI.DynamicDatePane.EVENT_CHANGE);
}

2
src/widget/datetimepane/datetimepane.js

@ -123,7 +123,7 @@ BI.DynamicDateTimePane = BI.inherit(BI.Widget, {
action: function () {
var type = self.dateTab.getSelect();
if (type === BI.DynamicDateCombo.Dynamic) {
self.dynamicPane.checkValidation(true) && self.fireEvent(BI.DynamicDatePopup.BUTTON_OK_EVENT_CHANGE);
self.dynamicPane.checkValidation(true) && self.fireEvent(BI.DynamicDatePane.EVENT_CHANGE);
} else {
self.fireEvent(BI.DynamicDatePane.EVENT_CHANGE);
}

Loading…
Cancel
Save