Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EZP-32170: Fixed policy limitation custom dropdown #1654

Conversation

lucasOsti
Copy link
Contributor

Question Answer
Tickets https://issues.ibexa.co/browse/EZP-32170
Bug fix? yes
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

@@ -154,7 +160,7 @@
}

onOptionClick({ target }) {
const option = target.classList.contains(CLASS_CUSTOM_DROPDOWN_ITEM) ? target : target.closest(SELECTOR_ITEM);
const option = target.closest(`.${CLASS_CUSTOM_DROPDOWN_ITEM}`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use SELECTOR_ITEM

@dew326
Copy link
Member

dew326 commented Nov 23, 2020

This should be merged to 3.2.

@lucasOsti lucasOsti changed the base branch from master to 2.2 November 23, 2020 14:23
@lucasOsti lucasOsti force-pushed the EZP-32170-It-is-possible-to-select-a-policy-limitation-twice branch from 91986e4 to fd814e6 Compare November 23, 2020 14:26
Copy link
Member

@micszo micszo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine now. 👍
Tested on Ibexa DXP v3.2.1 with diff.

@lserwatka lserwatka merged commit 81ee760 into ezsystems:2.2 Nov 23, 2020
@lserwatka
Copy link
Member

Could you merge it up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5 participants