Display the Media manager, select some items and click on the Delete toolbar button.
The /administrator/components/com_media/resources/scripts/components/modals/confirm-delete-modal.vue
should display an alert before deleting.
It deletes items directly.
Looks like this is because
MediaManager.Event.listen('onClickDelete', () => this.$store.dispatch('deleteSelectedItems'));
is used instead of
MediaManager.Event.listen('onClickDelete', () => this.$store.commit(types.SHOW_CONFIRM_DELETE_MODAL));
But this would display the alert but will not take into account the selected items to delete.
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-02-03 12:07:46 |
Closed_By | ⇒ | infograf768 |
closing as we have a patch #23756