From ad68ec9965a7d31c9c6926ee5bbcb18a490deffc Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 11 May 2017 18:39:25 +0800 Subject: [PATCH] =?UTF-8?q?text=5Feditor=E7=9A=84error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/case.js | 2 +- docs/case.js | 2 +- src/case/editor/editor.text.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bi/case.js b/bi/case.js index 139a0e831..cdf0cbe36 100644 --- a/bi/case.js +++ b/bi/case.js @@ -6752,7 +6752,7 @@ BI.TextEditor = BI.inherit(BI.Single, { self.fireEvent(BI.TextEditor.EVENT_STOP); }); this.editor.on(BI.Editor.EVENT_ERROR, function () { - self.fireEvent(BI.TextEditor.EVENT_ERROR); + self.fireEvent(BI.TextEditor.EVENT_ERROR, arguments); }); this.editor.on(BI.Editor.EVENT_ENTER, function () { self.fireEvent(BI.TextEditor.EVENT_ENTER); diff --git a/docs/case.js b/docs/case.js index 139a0e831..cdf0cbe36 100644 --- a/docs/case.js +++ b/docs/case.js @@ -6752,7 +6752,7 @@ BI.TextEditor = BI.inherit(BI.Single, { self.fireEvent(BI.TextEditor.EVENT_STOP); }); this.editor.on(BI.Editor.EVENT_ERROR, function () { - self.fireEvent(BI.TextEditor.EVENT_ERROR); + self.fireEvent(BI.TextEditor.EVENT_ERROR, arguments); }); this.editor.on(BI.Editor.EVENT_ENTER, function () { self.fireEvent(BI.TextEditor.EVENT_ENTER); diff --git a/src/case/editor/editor.text.js b/src/case/editor/editor.text.js index 4d8abd7d3..4a6194c93 100644 --- a/src/case/editor/editor.text.js +++ b/src/case/editor/editor.text.js @@ -96,7 +96,7 @@ BI.TextEditor = BI.inherit(BI.Single, { self.fireEvent(BI.TextEditor.EVENT_STOP); }); this.editor.on(BI.Editor.EVENT_ERROR, function () { - self.fireEvent(BI.TextEditor.EVENT_ERROR); + self.fireEvent(BI.TextEditor.EVENT_ERROR, arguments); }); this.editor.on(BI.Editor.EVENT_ENTER, function () { self.fireEvent(BI.TextEditor.EVENT_ENTER);