Browse Source

无JIRA任务 删除无用代码

es6
windy 5 years ago
parent
commit
01b7a36922
  1. 8
      src/widget/timeinterval/dateinterval.js
  2. 9
      src/widget/timeinterval/timeinterval.js

8
src/widget/timeinterval/dateinterval.js

@ -109,10 +109,10 @@ BI.DateInterval = BI.inherit(BI.Single, {
} }
}); });
combo.on(BI.DynamicDateCombo.EVENT_BEFORE_POPUPVIEW, function () { // combo.on(BI.DynamicDateCombo.EVENT_BEFORE_POPUPVIEW, function () {
self.left.hidePopupView(); // self.left.hidePopupView();
self.right.hidePopupView(); // self.right.hidePopupView();
}); // });
combo.on(BI.DynamicDateCombo.EVENT_CONFIRM, function () { combo.on(BI.DynamicDateCombo.EVENT_CONFIRM, function () {
BI.Bubbles.hide("error"); BI.Bubbles.hide("error");

9
src/widget/timeinterval/timeinterval.js

@ -109,10 +109,11 @@ BI.TimeInterval = BI.inherit(BI.Single, {
} }
}); });
combo.on(BI.DynamicDateTimeCombo.EVENT_BEFORE_POPUPVIEW, function () { // 不知道干啥的,先注释掉
self.left.hidePopupView(); // combo.on(BI.DynamicDateTimeCombo.EVENT_BEFORE_POPUPVIEW, function () {
self.right.hidePopupView(); // self.left.hidePopupView();
}); // self.right.hidePopupView();
// });
combo.on(BI.DynamicDateTimeCombo.EVENT_CONFIRM, function () { combo.on(BI.DynamicDateTimeCombo.EVENT_CONFIRM, function () {
BI.Bubbles.hide("error"); BI.Bubbles.hide("error");

Loading…
Cancel
Save