stable

Clone or download

Read-only

Delete a file

part of: story #12452 Delete folder/items how to test: --> You are able to delete a file from the dropdown or the quick look pane --> If it was open, the quick look pane is closed --> If somebody has deleted the file in the meantime, then an error is displayed in the modal and the item is removed from the tree-view --> If somebody locked or revoked you some permissions, then an error is displayed in the modal, and the file is not removed from the tree-view Change-Id: I52a91358cbb24f137f61d4c26db4027f50d1c7df

Modified Files

Name
M plugins/document/scripts/document/api/rest-querier.js +7 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenu.vue +9 −14 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDeleteButton.spec.js +22 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDeleteButton.vue +34 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderContent.vue +10 −10 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderHeader.vue +22 −2 Go to diff View file
A plugins/document/scripts/document/components/Folder/ModalDeleteItem/ModalConfirmDeletion.vue +109 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/QuickLook/QuickLookGlobal.vue +1 −3 Go to diff View file
M plugins/document/scripts/document/po/fr.po +8 −0 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/handle-errors.js +19 −0 Go to diff View file
M plugins/document/scripts/document/store/actions.js +21 −1 Go to diff View file
M plugins/document/scripts/document/store/actions.spec.js +50 −2 Go to diff View file