diff --git a/src/case/editor/editor.shelter.js b/src/case/editor/editor.shelter.js index daf06a673..0962e74d0 100644 --- a/src/case/editor/editor.shelter.js +++ b/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 () {