Browse Source

Merge pull request #1206 in VISUAL/fineui from ~WINDY/fineui:master to master

* commit '01b7a3692249e0a322a9d95c9734ce6e4b7da6c3':
  无JIRA任务 删除无用代码
es6
windy 5 years ago
parent
commit
adc3bdf235
  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 () {
self.left.hidePopupView();
self.right.hidePopupView();
});
// combo.on(BI.DynamicDateCombo.EVENT_BEFORE_POPUPVIEW, function () {
// self.left.hidePopupView();
// self.right.hidePopupView();
// });
combo.on(BI.DynamicDateCombo.EVENT_CONFIRM, function () {
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();
self.right.hidePopupView();
});
// 不知道干啥的,先注释掉
// combo.on(BI.DynamicDateTimeCombo.EVENT_BEFORE_POPUPVIEW, function () {
// self.left.hidePopupView();
// self.right.hidePopupView();
// });
combo.on(BI.DynamicDateTimeCombo.EVENT_CONFIRM, function () {
BI.Bubbles.hide("error");

Loading…
Cancel
Save