Browse Source

Merge branch 'master' of ssh://cloud.finedevelop.com:7999/~frank.qiu/fineui

es6
qcc 5 years ago
parent
commit
78d38d36f2
  1. 8
      src/widget/timeinterval/dateinterval.js
  2. 9
      src/widget/timeinterval/timeinterval.js
  3. 2
      typescript/core/widget.ts

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

2
typescript/core/widget.ts

@ -247,7 +247,7 @@ export interface _Widget extends _OB {
/** /**
* wigetname获取子元素实例 * wigetname获取子元素实例
*/ */
getWidgetByName(_name: string): _Widget; getWidgetByName(_name: string): _Widget | undefined;
/** /**
* *

Loading…
Cancel
Save