-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.0.0
-
Component/s: Upload
-
Tags:
Steps to reproduce:
- start nuxeo
- edit nxserver/nuxeo.war/ui/document/file/nuxeo-file-create-layout.html
- after line 48, add this to the nuxeo-dropzone element
accept=".pdf,.docx"
- save the file
- log in to Nuxeo and do a hard refresh in the browser to be sure all the resources have been reloaded
- navigate to a workspace, push the + button and choose File
- in the File creation form, try to upload a XLS file
- observe that the file is not uploaded and no message is displayed
- only a warn is logged to the console, as expected by the code
This improvement request is to display a message in the creation form (or in the page with a toast message) to indicate that the uploaded file was not accepted