Browse Source

下拉框

es6
guy 7 years ago
parent
commit
b3c33f3bab
  1. 2
      bi/base.js
  2. 2
      bi/core.js
  3. 2
      docs/base.js
  4. 2
      docs/core.js
  5. 2
      src/base/combination/combo.js
  6. 2
      src/core/func/dom.js

2
bi/base.js

@ -3051,7 +3051,7 @@ BI.Combo = BI.inherit(BI.Widget, {
break;
case "top":
case "top,right":
p = $.getComboPosition(this.combo, this.popupView, o.adjustYOffset || o.adjustLength, o.isNeedAdjustHeight, ['top', 'bottom', 'right', 'left'], o.offsetStyle);
p = $.getComboPosition(this.combo, this.popupView, o.adjustXOffset, o.adjustYOffset || o.adjustLength, o.isNeedAdjustHeight, ['top', 'bottom', 'right', 'left'], o.offsetStyle);
break;
case "left":
case "left,bottom":

2
bi/core.js

@ -17057,7 +17057,9 @@ BI.extend(jQuery, {
}
break;
}
if(needAdaptHeight === true) {
popup.resetHeight && popup.resetHeight(Math.min(bodyHeight - position.top, maxHeight));
}
return position;
}
});/**

2
docs/base.js

@ -3051,7 +3051,7 @@ BI.Combo = BI.inherit(BI.Widget, {
break;
case "top":
case "top,right":
p = $.getComboPosition(this.combo, this.popupView, o.adjustYOffset || o.adjustLength, o.isNeedAdjustHeight, ['top', 'bottom', 'right', 'left'], o.offsetStyle);
p = $.getComboPosition(this.combo, this.popupView, o.adjustXOffset, o.adjustYOffset || o.adjustLength, o.isNeedAdjustHeight, ['top', 'bottom', 'right', 'left'], o.offsetStyle);
break;
case "left":
case "left,bottom":

2
docs/core.js

@ -22569,7 +22569,9 @@ BI.extend(jQuery, {
}
break;
}
if(needAdaptHeight === true) {
popup.resetHeight && popup.resetHeight(Math.min(bodyHeight - position.top, maxHeight));
}
return position;
}
});/**

2
src/base/combination/combo.js

@ -248,7 +248,7 @@ BI.Combo = BI.inherit(BI.Widget, {
break;
case "top":
case "top,right":
p = $.getComboPosition(this.combo, this.popupView, o.adjustYOffset || o.adjustLength, o.isNeedAdjustHeight, ['top', 'bottom', 'right', 'left'], o.offsetStyle);
p = $.getComboPosition(this.combo, this.popupView, o.adjustXOffset, o.adjustYOffset || o.adjustLength, o.isNeedAdjustHeight, ['top', 'bottom', 'right', 'left'], o.offsetStyle);
break;
case "left":
case "left,bottom":

2
src/core/func/dom.js

@ -577,7 +577,9 @@ BI.extend(jQuery, {
}
break;
}
if(needAdaptHeight === true) {
popup.resetHeight && popup.resetHeight(Math.min(bodyHeight - position.top, maxHeight));
}
return position;
}
});
Loading…
Cancel
Save