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

Fixed row click issue in Category Products tab #3866

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Fixed row click issue in Category Products tab #3866

merged 1 commit into from
Mar 6, 2024

Conversation

ADDISON74
Copy link
Contributor

When you use the Category Products tab in the Categories page, you may face an important issue without realizing it. As the grid functionality was thought by the Magento team, when you click on a row, regardless of the position where the mouse pointer is, the row will be checked or unchecked. As soon as you press the [Save Category] button, products may appear or disappear in the grid by mistake. I faced this issue many times when I was editing the position and I didn't click exactly in the box but a little next to it.

This PR solves the issue and limits the row click strictly to the grid cell where the checkbox is (the first column).

rowclick

@github-actions github-actions bot added Component: Catalog Relates to Mage_Catalog Template : admin Relates to admin template Component: Adminhtml Relates to Mage_Adminhtml labels Mar 3, 2024
@andrewcbi
Copy link
Contributor

Thank you for this one too

Copy link
Contributor

@fballiano fballiano left a comment

Choose a reason for hiding this comment

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

tested, works and doesn't affect any other functionality

@fballiano fballiano changed the title Row click issue in Category Products tab Fixed row click issue in Category Products tab Mar 5, 2024
@fballiano fballiano merged commit 304a23c into OpenMage:main Mar 6, 2024
3 checks passed
@ADDISON74 ADDISON74 deleted the ADDISON74-category-row-click branch March 6, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Adminhtml Relates to Mage_Adminhtml Component: Catalog Relates to Mage_Catalog Template : admin Relates to admin template
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants