Browse Source

Pull request #3206: 无JIRA revert commit c45e768, 不是实时校验的一律不许用气泡

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '618d3d4ccd1761432176f235cb437d64b9b334a1':
  无JIRA revert commit c45e768, 不是实时校验的一律不许用气泡
es6
Dailer-刘荣歆 2 years ago
parent
commit
ae9753fb29
  1. 5
      src/base/single/editor/editor.js
  2. 4
      src/widget/editor/editor.text.js

5
src/base/single/editor/editor.js

@ -344,11 +344,6 @@ BI.Editor = BI.inherit(BI.Single, {
return this.editor.isValid(); return this.editor.isValid();
}, },
setValid: function (b) {
this.editor.setValid(b);
this._checkError();
},
destroyed: function () { destroyed: function () {
BI.Bubbles.remove(this.getName()); BI.Bubbles.remove(this.getName());
}, },

4
src/widget/editor/editor.text.js

@ -138,10 +138,6 @@ BI.TextEditor = BI.inherit(BI.Widget, {
return this.editor.isValid(); return this.editor.isValid();
}, },
setValid: function (b) {
this.editor.setValid(b);
},
setValue: function (v) { setValue: function (v) {
this.editor.setValue(v); this.editor.setValue(v);
}, },

Loading…
Cancel
Save