|
|
|
@ -30,7 +30,7 @@ BI.Single = BI.inherit(BI.Widget, {
|
|
|
|
|
if (BI.isPlainObject(title)) { |
|
|
|
|
tooltipOpt = title; |
|
|
|
|
} else { |
|
|
|
|
tooltipOpt.level = this.getTipType() || (this.isEnabled() ? "success" : "warning"); |
|
|
|
|
tooltipOpt.level = this.getTipType() || "success"; |
|
|
|
|
tooltipOpt.text = tooltipOpt.level === "success" ? title : (this.getWarningTitle() || title); |
|
|
|
|
} |
|
|
|
|
if (BI.isKey(tooltipOpt.text)) { |
|
|
|
|