Skip to content

Conversation

@Quy
Copy link
Contributor

@Quy Quy commented Jul 6, 2019

Pull Request for Issue #24605.

Summary of Changes

Add prefix to class name to prevent conflicting with existing classes.

Testing Instructions

Create a new Menu named Hidden and set the menutype to "hidden".
Add a menu item to that menu.
Open a template style and check the Menu Assignment tab.

Expected result

A visible checkbox to associate the template style with the created menu item.

Actual result

No checkbox visible. Reason for that is the menu alias will be added to the Input tag as a class - without any prefix. So it becomes input[type=checkbox].hidden which is a class used by bootstrap to hide stuff.

@Quy Quy changed the title Add prefix to class name [com_templates] Add prefix to class name in menu assignment Jul 6, 2019
@richard67
Copy link
Member

I have tested this item ✅ successfully on 06acd66


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25454.

1 similar comment
@SharkyKZ
Copy link
Contributor

SharkyKZ commented Jul 6, 2019

I have tested this item ✅ successfully on 06acd66


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25454.

@Quy Quy removed the PR-staging label Jul 6, 2019
@Quy
Copy link
Contributor Author

Quy commented Jul 6, 2019

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25454.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jul 6, 2019
@ghost ghost added the PR-staging label Jul 7, 2019
@HLeithner HLeithner merged commit 2f116b6 into staging Jul 20, 2019
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Jul 20, 2019
@HLeithner
Copy link
Member

thx

@Quy Quy deleted the menu-assignment branch July 20, 2019 19:30
@zero-24 zero-24 added this to the Joomla! 3.9.11 milestone Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants