Browse Source

Pull request #3434: 无JIRA任务 fix: 上传的事件名

Merge in VISUAL/fineui from ~ZHENFEI.LI/fineui:es6 to es6

* commit '7cfc5ad529e9cd568bb1974add823c44f610c530':
  无JIRA任务 fix: 上传的事件名
es6
Zhenfei.Li-李振飞 2 years ago
parent
commit
db622a3158
  1. 8
      src/base/single/editor/editor.multifile.js

8
src/base/single/editor/editor.multifile.js

@ -52,16 +52,16 @@ export class MultifileEditor extends Widget {
this.fireEvent(MultifileEditor.EVENT_CHANGE, ...args);
});
this.file.on(File.EVENT_UPLOADSTART, (...args) => {
this.fireEvent(MultifileEditor.EVENT_CHANGE, ...args);
this.fireEvent(MultifileEditor.EVENT_UPLOADSTART, ...args);
});
this.file.on(File.EVENT_ERROR, (...args) => {
this.fireEvent(MultifileEditor.EVENT_CHANGE, ...args);
this.fireEvent(MultifileEditor.EVENT_ERROR, ...args);
});
this.file.on(File.EVENT_PROGRESS, (...args) => {
this.fireEvent(MultifileEditor.EVENT_CHANGE, ...args);
this.fireEvent(MultifileEditor.EVENT_PROGRESS, ...args);
});
this.file.on(File.EVENT_UPLOADED, (...args) => {
this.fireEvent(MultifileEditor.EVENT_CHANGE, ...args);
this.fireEvent(MultifileEditor.EVENT_UPLOADED, ...args);
});
createWidget({

Loading…
Cancel
Save