|
|
@ -2935,7 +2935,7 @@ BI.Combo = BI.inherit(BI.Widget, { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, BI.EVENT_RESPONSE_TIME, true); |
|
|
|
}, BI.EVENT_RESPONSE_TIME, true); |
|
|
|
self.element.off(ev + "." + self.getName()).on(ev + "." + self.getName(), function(e){ |
|
|
|
self.element.off(ev + "." + self.getName()).on(ev + "." + self.getName(), function (e) { |
|
|
|
debounce(e); |
|
|
|
debounce(e); |
|
|
|
st(e); |
|
|
|
st(e); |
|
|
|
}); |
|
|
|
}); |
|
|
@ -3051,7 +3051,7 @@ BI.Combo = BI.inherit(BI.Widget, { |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "top": |
|
|
|
case "top": |
|
|
|
case "top,right": |
|
|
|
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; |
|
|
|
break; |
|
|
|
case "left": |
|
|
|
case "left": |
|
|
|
case "left,bottom": |
|
|
|
case "left,bottom": |
|
|
@ -19759,6 +19759,8 @@ BI.Tooltip = BI.inherit(BI.Tip, { |
|
|
|
extraCls: "bi-tooltip", |
|
|
|
extraCls: "bi-tooltip", |
|
|
|
text: "", |
|
|
|
text: "", |
|
|
|
level: "success",//success或warning
|
|
|
|
level: "success",//success或warning
|
|
|
|
|
|
|
|
stopEvent: false, |
|
|
|
|
|
|
|
stopPropagation: false, |
|
|
|
height: 20 |
|
|
|
height: 20 |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
@ -19767,9 +19769,8 @@ BI.Tooltip = BI.inherit(BI.Tip, { |
|
|
|
var self = this, o = this.options; |
|
|
|
var self = this, o = this.options; |
|
|
|
this.element.addClass("tooltip-" + o.level); |
|
|
|
this.element.addClass("tooltip-" + o.level); |
|
|
|
var fn = function (e) { |
|
|
|
var fn = function (e) { |
|
|
|
e.stopPropagation(); |
|
|
|
o.stopPropagation && e.stopPropagation(); |
|
|
|
e.stopEvent(); |
|
|
|
o.stopEvent && e.stopEvent(); |
|
|
|
return false; |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
this.element.bind({ |
|
|
|
this.element.bind({ |
|
|
|
"click": fn, |
|
|
|
"click": fn, |
|
|
|