Browse Source

text_editor的error

master
windy 8 years ago
parent
commit
ad68ec9965
  1. 2
      bi/case.js
  2. 2
      docs/case.js
  3. 2
      src/case/editor/editor.text.js

2
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);

2
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);

2
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);

Loading…
Cancel
Save