Changes for page Attachments

Last modified by Thomas Coelho (local) on 2023/11/10 10:09

From version 5.1
edited by Thomas Coelho (local)
on 2023/08/09 10:58
Change comment: Install extension [org.xwiki.platform:xwiki-platform-attachment-ui/15.5]
To version 3.1
edited by Thomas Coelho
on 2023/02/27 13:37
Change comment: Install extension [org.xwiki.platform:xwiki-platform-attachment-ui/15.1]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.coelho
1 +xwiki:XWiki.thw
XWiki.JavaScriptExtension[0]
Code
... ... @@ -123,7 +123,7 @@
123 123   hasErrors = true;
124 124   }
125 125   const beforeUploadEvent = Event.fire(document, 'xwiki:actions:beforeUpload', {
126 - file: fileInput.files[0]
126 + file: fileInput
127 127   });
128 128  
129 129   if (beforeUploadEvent.defaultPrevented) {