fix foreach in fileupload
This commit is contained in:
parent
16db6195d3
commit
038359c74f
|
@ -626,7 +626,7 @@ converse.plugins.add('converse-chatboxes', {
|
|||
});
|
||||
return;
|
||||
}
|
||||
files.forEach(file => {
|
||||
Array.from(files).forEach(file => {
|
||||
if (!window.isNaN(max_file_size) && window.parseInt(file.size) > max_file_size) {
|
||||
return this.messages.create({
|
||||
'message': __('The size of your file, %1$s, exceeds the maximum allowed by your server, which is %2$s.',
|
||||
|
|
Loading…
Reference in New Issue
Block a user