|
|
@ -275,13 +275,14 @@ |
|
|
|
this.adjustWidth(); |
|
|
|
this.adjustWidth(); |
|
|
|
this.adjustHeight(); |
|
|
|
this.adjustHeight(); |
|
|
|
} |
|
|
|
} |
|
|
|
return; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
var isHide = this.options.hideChecker.apply(this, [e]); |
|
|
|
var isHide = this.options.hideChecker.apply(this, [e]); |
|
|
|
if (isHide === false) { |
|
|
|
if (isHide === false) { |
|
|
|
return; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
this._hideView(); |
|
|
|
this._hideView(); |
|
|
|
|
|
|
|
return true; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_hideView: function () { |
|
|
|
_hideView: function () { |
|
|
@ -308,10 +309,11 @@ |
|
|
|
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()) { |
|
|
|
combo && combo.hideView(); |
|
|
|
if (combo && combo._hideIf(e)) { |
|
|
|
|
|
|
|
delete needHideWhenAnotherComboOpen[i]; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
needHideWhenAnotherComboOpen = {}; |
|
|
|
|
|
|
|
this.options.hideWhenAnotherComboOpen && (needHideWhenAnotherComboOpen[this.getName()] = this); |
|
|
|
this.options.hideWhenAnotherComboOpen && (needHideWhenAnotherComboOpen[this.getName()] = this); |
|
|
|
this.adjustWidth(e); |
|
|
|
this.adjustWidth(e); |
|
|
|
this.adjustHeight(e); |
|
|
|
this.adjustHeight(e); |
|
|
|