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