|
|
@ -267,7 +267,7 @@ |
|
|
|
// return;
|
|
|
|
// return;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// BI-10290 公式combo双击公式内容会收起
|
|
|
|
// BI-10290 公式combo双击公式内容会收起
|
|
|
|
if (e && ((!skipTriggerChecker && this.element.find(e.target).length > 0) |
|
|
|
if (e && ((skipTriggerChecker !== true && this.element.find(e.target).length > 0) |
|
|
|
|| (this.popupView && this.popupView.element.find(e.target).length > 0) |
|
|
|
|| (this.popupView && this.popupView.element.find(e.target).length > 0) |
|
|
|
|| e.target.className === "CodeMirror-cursor" || BI.Widget._renderEngine.createElement(e.target).closest(".CodeMirror-hints").length > 0)) {// BI-9887 CodeMirror的公式弹框需要特殊处理下
|
|
|
|
|| e.target.className === "CodeMirror-cursor" || BI.Widget._renderEngine.createElement(e.target).closest(".CodeMirror-hints").length > 0)) {// BI-9887 CodeMirror的公式弹框需要特殊处理下
|
|
|
|
var directions = this.options.direction.split(","); |
|
|
|
var directions = this.options.direction.split(","); |
|
|
@ -276,11 +276,12 @@ |
|
|
|
this.adjustWidth(); |
|
|
|
this.adjustWidth(); |
|
|
|
this.adjustHeight(); |
|
|
|
this.adjustHeight(); |
|
|
|
} |
|
|
|
} |
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
var isHide = this.options.hideChecker.apply(this, [e]); |
|
|
|
var isHide = this.options.hideChecker.apply(this, [e]); |
|
|
|
if (isHide === false) { |
|
|
|
if (isHide === false) { |
|
|
|
return false; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
this._hideView(); |
|
|
|
this._hideView(); |
|
|
|
return true; |
|
|
|
return true; |
|
|
@ -310,7 +311,7 @@ |
|
|
|
this.popupView.visible(); |
|
|
|
this.popupView.visible(); |
|
|
|
BI.each(needHideWhenAnotherComboOpen, function (i, combo) { |
|
|
|
BI.each(needHideWhenAnotherComboOpen, function (i, combo) { |
|
|
|
if (i !== self.getName()) { |
|
|
|
if (i !== self.getName()) { |
|
|
|
if (combo && combo._hideIf(e, true)) { |
|
|
|
if (combo && combo._hideIf(e, true) === true) { |
|
|
|
delete needHideWhenAnotherComboOpen[i]; |
|
|
|
delete needHideWhenAnotherComboOpen[i]; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|