|
|
@ -29918,6 +29918,7 @@ $.extend($.Event.prototype, { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (tidx >= 0) { |
|
|
|
if (tidx >= 0) { |
|
|
|
|
|
|
|
// 标红的text未encode
|
|
|
|
this.append(BI.htmlEncode(textLeft.substr(0, tidx))); |
|
|
|
this.append(BI.htmlEncode(textLeft.substr(0, tidx))); |
|
|
|
this.append($("<span>").addClass("bi-keyword-red-mark") |
|
|
|
this.append($("<span>").addClass("bi-keyword-red-mark") |
|
|
|
.html(BI.htmlEncode(textLeft.substr(tidx, keyword.length)))); |
|
|
|
.html(BI.htmlEncode(textLeft.substr(tidx, keyword.length)))); |
|
|
@ -29927,6 +29928,7 @@ $.extend($.Event.prototype, { |
|
|
|
py = py.substr(tidx + keyword.length); |
|
|
|
py = py.substr(tidx + keyword.length); |
|
|
|
} |
|
|
|
} |
|
|
|
} else if (pidx != null && pidx >= 0 && Math.floor(pidx / text.length) === Math.floor((pidx + keyword.length - 1) / text.length)) { |
|
|
|
} else if (pidx != null && pidx >= 0 && Math.floor(pidx / text.length) === Math.floor((pidx + keyword.length - 1) / text.length)) { |
|
|
|
|
|
|
|
// 标红的text未encode
|
|
|
|
this.append(BI.htmlEncode(textLeft.substr(0, pidx))); |
|
|
|
this.append(BI.htmlEncode(textLeft.substr(0, pidx))); |
|
|
|
this.append($("<span>").addClass("bi-keyword-red-mark") |
|
|
|
this.append($("<span>").addClass("bi-keyword-red-mark") |
|
|
|
.html(BI.htmlEncode(textLeft.substr(pidx, keyword.length)))); |
|
|
|
.html(BI.htmlEncode(textLeft.substr(pidx, keyword.length)))); |
|
|
@ -29935,6 +29937,7 @@ $.extend($.Event.prototype, { |
|
|
|
} |
|
|
|
} |
|
|
|
textLeft = textLeft.substr(pidx + keyword.length); |
|
|
|
textLeft = textLeft.substr(pidx + keyword.length); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|
|
|
|
// 标红的text未encode
|
|
|
|
this.append(BI.htmlEncode(textLeft)); |
|
|
|
this.append(BI.htmlEncode(textLeft)); |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
@ -49502,6 +49505,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, { |
|
|
|
keyword: o.keyword, |
|
|
|
keyword: o.keyword, |
|
|
|
value: o.value, |
|
|
|
value: o.value, |
|
|
|
title: o.title || o.text, |
|
|
|
title: o.title || o.text, |
|
|
|
|
|
|
|
warningTitle: o.warningTitle, |
|
|
|
py: o.py |
|
|
|
py: o.py |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|