Modifications pour le document Pièces jointes
Modifié par Admin le 21/07/2025 - 08:55
Résumé
-
Objets (1 modifications, 0 ajouts, 0 suppressions)
Détails
- 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 126 + file: fileInput.files[0] 127 127 }); 128 128 129 129 if (beforeUploadEvent.defaultPrevented) {