Browse Source

Merge pull request #1185 in VISUAL/fineui from ~WINDY/fineui:master to master

* commit '174967d014ac7e002e4dcb39580e581a1dd5babe':
  BI-55554 fix: shelter_editor代码同步signeditor
es6
windy 5 years ago
parent
commit
cc07fc06c1
  1. 3
      src/case/editor/editor.shelter.js

3
src/case/editor/editor.shelter.js

@ -137,7 +137,6 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -149,6 +148,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
this.text.setValue(this.editor.getValue());
this.text.element.removeClass("bi-water-mark");
}
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
_showInput: function () {
@ -239,7 +239,6 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
var o = this.options;
this.editor.setValue(k);
this._checkText();
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
getValue: function () {

Loading…
Cancel
Save