diff --git a/bi/base.js b/bi/base.js index 5c099604d..a2540ebd6 100644 --- a/bi/base.js +++ b/bi/base.js @@ -14351,15 +14351,15 @@ BI.FormulaEditor = BI.inherit(BI.Single, { _checkWaterMark: function () { var o = this.options; - if (!this.disabledWarterMark && BI.isEmptyString(this.editor.getValue()) && BI.isKey(o.watermark)) { + if (!this.disabledWaterMark && BI.isEmptyString(this.editor.getValue()) && BI.isKey(o.watermark)) { this.watermark && this.watermark.visible(); } else { this.watermark && this.watermark.invisible(); } }, - disableWarterMark: function () { - this.disabledWarterMark = true; + disableWaterMark: function () { + this.disabledWaterMark = true; this._checkWaterMark(); }, @@ -18111,7 +18111,7 @@ BI.Editor = BI.inherit(BI.Single, { _checkWaterMark: function () { var o = this.options; - if (!this.disabledWarterMark && this.editor.getValue() === "" && BI.isKey(o.watermark)) { + if (!this.disabledWaterMark && this.editor.getValue() === "" && BI.isKey(o.watermark)) { this.watermark && this.watermark.visible(); } else { this.watermark && this.watermark.invisible(); @@ -18149,13 +18149,13 @@ BI.Editor = BI.inherit(BI.Single, { this._checkError(); }, - disableWarterMark: function () { - this.disabledWarterMark = true; + disableWaterMark: function () { + this.disabledWaterMark = true; this._checkWaterMark(); }, - enableWarterMark: function () { - this.disabledWarterMark = false; + enableWaterMark: function () { + this.disabledWaterMark = false; this._checkWaterMark(); }, diff --git a/docs/base.js b/docs/base.js index 5c099604d..a2540ebd6 100644 --- a/docs/base.js +++ b/docs/base.js @@ -14351,15 +14351,15 @@ BI.FormulaEditor = BI.inherit(BI.Single, { _checkWaterMark: function () { var o = this.options; - if (!this.disabledWarterMark && BI.isEmptyString(this.editor.getValue()) && BI.isKey(o.watermark)) { + if (!this.disabledWaterMark && BI.isEmptyString(this.editor.getValue()) && BI.isKey(o.watermark)) { this.watermark && this.watermark.visible(); } else { this.watermark && this.watermark.invisible(); } }, - disableWarterMark: function () { - this.disabledWarterMark = true; + disableWaterMark: function () { + this.disabledWaterMark = true; this._checkWaterMark(); }, @@ -18111,7 +18111,7 @@ BI.Editor = BI.inherit(BI.Single, { _checkWaterMark: function () { var o = this.options; - if (!this.disabledWarterMark && this.editor.getValue() === "" && BI.isKey(o.watermark)) { + if (!this.disabledWaterMark && this.editor.getValue() === "" && BI.isKey(o.watermark)) { this.watermark && this.watermark.visible(); } else { this.watermark && this.watermark.invisible(); @@ -18149,13 +18149,13 @@ BI.Editor = BI.inherit(BI.Single, { this._checkError(); }, - disableWarterMark: function () { - this.disabledWarterMark = true; + disableWaterMark: function () { + this.disabledWaterMark = true; this._checkWaterMark(); }, - enableWarterMark: function () { - this.disabledWarterMark = false; + enableWaterMark: function () { + this.disabledWaterMark = false; this._checkWaterMark(); }, diff --git a/src/base/formula/formulaeditor.js b/src/base/formula/formulaeditor.js index 74da71433..691e8b0e8 100644 --- a/src/base/formula/formulaeditor.js +++ b/src/base/formula/formulaeditor.js @@ -90,15 +90,15 @@ BI.FormulaEditor = BI.inherit(BI.Single, { _checkWaterMark: function () { var o = this.options; - if (!this.disabledWarterMark && BI.isEmptyString(this.editor.getValue()) && BI.isKey(o.watermark)) { + if (!this.disabledWaterMark && BI.isEmptyString(this.editor.getValue()) && BI.isKey(o.watermark)) { this.watermark && this.watermark.visible(); } else { this.watermark && this.watermark.invisible(); } }, - disableWarterMark: function () { - this.disabledWarterMark = true; + disableWaterMark: function () { + this.disabledWaterMark = true; this._checkWaterMark(); }, diff --git a/src/base/single/editor/editor.js b/src/base/single/editor/editor.js index a0a684474..c03bd8005 100644 --- a/src/base/single/editor/editor.js +++ b/src/base/single/editor/editor.js @@ -204,7 +204,7 @@ BI.Editor = BI.inherit(BI.Single, { _checkWaterMark: function () { var o = this.options; - if (!this.disabledWarterMark && this.editor.getValue() === "" && BI.isKey(o.watermark)) { + if (!this.disabledWaterMark && this.editor.getValue() === "" && BI.isKey(o.watermark)) { this.watermark && this.watermark.visible(); } else { this.watermark && this.watermark.invisible(); @@ -242,13 +242,13 @@ BI.Editor = BI.inherit(BI.Single, { this._checkError(); }, - disableWarterMark: function () { - this.disabledWarterMark = true; + disableWaterMark: function () { + this.disabledWaterMark = true; this._checkWaterMark(); }, - enableWarterMark: function () { - this.disabledWarterMark = false; + enableWaterMark: function () { + this.disabledWaterMark = false; this._checkWaterMark(); },