From 64bac552fe2a12d7456ad459e3acb2d83f407b67 Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 22 Jul 2021 21:20:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20bubble=20get?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 3 ++- src/base/single/editor/editor.js | 3 +-- src/base/single/editor/editor.textarea.js | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 53373f0e2..b7a7bb2a4 100644 --- a/index.html +++ b/index.html @@ -11,4 +11,5 @@
- \ No newline at end of file + + diff --git a/src/base/single/editor/editor.js b/src/base/single/editor/editor.js index 8fbd987a3..6bff9decf 100644 --- a/src/base/single/editor/editor.js +++ b/src/base/single/editor/editor.js @@ -175,7 +175,7 @@ BI.Editor = BI.inherit(BI.Single, { errorText = errorText(this.editor.getValue()); } if (BI.isKey(errorText)) { - if (!this.isEnabled() || this.isValid() || (BI.Bubbles.has(this.getName()) && BI.Bubbles.get(this.getName()).isVisible())) { + if (!this.isEnabled() || this.isValid() || BI.Bubbles.has(this.getName())) { this.setTitle(""); } else { this.setTitle(errorText); @@ -273,7 +273,6 @@ BI.Editor = BI.inherit(BI.Single, { adjustYOffset: 2 }); this._checkToolTip(); - return BI.Bubbles.get(this.getName()); } }, diff --git a/src/base/single/editor/editor.textarea.js b/src/base/single/editor/editor.textarea.js index 65c0b22e9..177f33b26 100644 --- a/src/base/single/editor/editor.textarea.js +++ b/src/base/single/editor/editor.textarea.js @@ -184,7 +184,6 @@ BI.TextAreaEditor = BI.inherit(BI.Single, { adjustXOffset: o.adjustXOffset, offsetStyle: o.offsetStyle, }); - return BI.Bubbles.get(this.getName()); } },