stable

Clone or download

Read-only

request #25329 Document with approval table: Drag and drop a new version should have the same behavior that create new version from button

The Drag and drop of a new version with approval table should have the same behavior that create new version from button. Current behavior from button : create a new version of an item open a modal with approval table option Current behavior from Drag & Drop : Drag & Drop an item in an item not approved open a modal an error modal with approval message Drag & Drop an item in an item approved throw a REST error catch with another error modal Expected behavior : Drag & Drop an item in an item without approval table and changelog option disabled should update the file Drag & Drop an item in an item without approval table and changelog option enabled should open the update modal Drag & Drop an item in an item not approved with approval table should open the update modal with approval table options Drag & Drop an item in an item approved with approval table and should open the update modal with approval table options Change-Id: I2e205f0c4d797b18d52b890aa6ad140793a5f5cf

Modified Files

Name
D plugins/document/scripts/document/components/Folder/DragNDrop/DocumentNeedsApprovalErrorModal.vue +0 −73 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/DragNDropHandler.test.js +37 −32 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/DragNDropHandler.vue +1 −23 Go to diff View file
M plugins/document/scripts/document/po/fr_FR.po +0 −22 Go to diff View file