-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
AdminAdminBundle related issues and PRs.AdminBundle related issues and PRs.BugConfirmed bugs or bugfixes.Confirmed bugs or bugfixes.
Description
Sylius version affected: 2
Description
Javascript error preventing deletion of taxon from the admin panel. I think this was broken in this commit 2334a76 where dropdown was changed to btn-group
Steps to reproduce
Is currently erroring on the live demo https://v2.demo.sylius.com/admin/taxons/new when attempting to delete a taxon
Possible Solution
Fixed for me when I edited AdminBundle/Resources/assets/controllers/DeleteTaxonController.js and changed
this.modalElement.closest('.dropdown').appendChild(this.modalElement);
to
this.modalElement.closest('.btn-group').appendChild(this.modalElement);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
AdminAdminBundle related issues and PRs.AdminBundle related issues and PRs.BugConfirmed bugs or bugfixes.Confirmed bugs or bugfixes.
