Browse Source

Pull request #2040: 无jira任务 bubble get方法

Merge in VISUAL/fineui from ~IMP/fineui_fui:master to master

* commit '64bac552fe2a12d7456ad459e3acb2d83f407b67':
  无jira任务 bubble get方法
es6
guy 3 years ago
parent
commit
5f8c1d92bd
  1. 3
      index.html
  2. 3
      src/base/single/editor/editor.js
  3. 1
      src/base/single/editor/editor.textarea.js

3
index.html

@ -11,4 +11,5 @@
<div id="wrapper"></div>
</body>
<script src="./dist/demo.js"></script>
</html>
<script src="./dist/router.js"></script>
</html>

3
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());
}
},

1
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());
}
},

Loading…
Cancel
Save