|
|
@ -52,16 +52,16 @@ export class MultifileEditor extends Widget { |
|
|
|
this.fireEvent(MultifileEditor.EVENT_CHANGE, ...args); |
|
|
|
this.fireEvent(MultifileEditor.EVENT_CHANGE, ...args); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.file.on(File.EVENT_UPLOADSTART, (...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.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.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.file.on(File.EVENT_UPLOADED, (...args) => { |
|
|
|
this.fireEvent(MultifileEditor.EVENT_CHANGE, ...args); |
|
|
|
this.fireEvent(MultifileEditor.EVENT_UPLOADED, ...args); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
createWidget({ |
|
|
|
createWidget({ |
|
|
|