stable

Clone or download

Read-only

Prevent navigation when there is an upload

Part of story #10721: upload documents with drag'n drop Upload large documents. During the document is being uploaded, the following operations will asks for confirmation): - use breadcrumb to go to another folder - use the folder content to go to a sub folder - search - go to docman admin, or any other tuleap page You can still create/upload documents and expand/collapse folders. Please note that for onbeforeunload, we don't have any possibility to clean up our uploads, it will leave temporary files that will be garbage collected later. Change-Id: Ief365496e6d6ce991fe7770f16a6dd8289d55c3a

Modified Files

Name
M plugins/document/scripts/document/components/App.vue +10 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderContentRow.vue +3 −9 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/FolderCellTitle.vue +10 −4 Go to diff View file
A plugins/document/scripts/document/helpers/abort-current-uploads.js +37 −0 Go to diff View file
M plugins/document/scripts/document/router/index.js +6 −1 Go to diff View file
M plugins/document/scripts/document/store/actions.js +8 −0 Go to diff View file
M plugins/document/scripts/document/store/getters.js +4 −0 Go to diff View file