Changes for page Attachments

Last modified by Thomas Coelho (local) on 2023/11/03 15:25

From version 9.1
edited by Thomas Coelho (local)
on 2023/07/26 11:22
Change comment: Install extension [org.xwiki.platform:xwiki-platform-attachment-ui/15.5]
To version 7.1
edited by Thomas Coelho
on 2023/02/27 12:05
Change comment: Install extension [org.xwiki.platform:xwiki-platform-attachment-ui/15.1]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.coelho
1 +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) {