Browse Source

Pull request #1757: BI-81309 fix: 同步年月控件

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit '666d06c83de959ec79a1da00edd72ec375390263':
  BI-81309 fix: 同步年月控件
master
windy 4 years ago
parent
commit
f18dbedc1b
  1. 5
      src/widget/yearinterval/yearinterval.js
  2. 5
      src/widget/yearquarterinterval/yearquarterinterval.js

5
src/widget/yearinterval/yearinterval.js

@ -94,11 +94,6 @@ BI.YearInterval = BI.inherit(BI.Single, {
self._checkValid();
});
combo.on(BI.DynamicYearCombo.EVENT_BEFORE_POPUPVIEW, function () {
self.left.hideView();
self.right.hideView();
});
combo.on(BI.DynamicYearCombo.EVENT_CONFIRM, function () {
BI.Bubbles.hide("error");
var smallDate = self.left.getKey(), bigDate = self.right.getKey();

5
src/widget/yearquarterinterval/yearquarterinterval.js

@ -94,11 +94,6 @@ BI.YearQuarterInterval = BI.inherit(BI.Single, {
self._checkValid();
});
combo.on(BI.DynamicYearQuarterCombo.EVENT_BEFORE_POPUPVIEW, function () {
self.left.hideView();
self.right.hideView();
});
combo.on(BI.DynamicYearQuarterCombo.EVENT_CONFIRM, function () {
BI.Bubbles.hide("error");
var smallDate = self.left.getKey(), bigDate = self.right.getKey();

Loading…
Cancel
Save