?
avatar infograf768
infograf768
3 Feb 2019

Steps to reproduce the issue

Display the Media manager, select some items and click on the Delete toolbar button.

Expected result

The /administrator/components/com_media/resources/scripts/components/modals/confirm-delete-modal.vue should display an alert before deleting.

Actual result

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.

avatar infograf768 infograf768 - open - 3 Feb 2019
avatar joomla-cms-bot joomla-cms-bot - change - 3 Feb 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Feb 2019
avatar infograf768 infograf768 - change - 3 Feb 2019
The description was changed
avatar infograf768 infograf768 - edited - 3 Feb 2019
avatar infograf768 infograf768 - change - 3 Feb 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-02-03 12:07:46
Closed_By infograf768
avatar infograf768
infograf768 - comment - 3 Feb 2019

closing as we have a patch #23756

avatar infograf768 infograf768 - close - 3 Feb 2019

Add a Comment

Login with GitHub to post a comment