-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Fix#11155 Two finder module make invalid HTML for W3C #11168
Conversation
Nice work but why use a random number ?
|
@ggppdk |
Doesnt the same change have to be made to mod_search? |
@@ -20,13 +20,13 @@ | |||
$lang->load('com_finder', JPATH_SITE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 15 also MUST change to JHtml::_('formbehavior.chosen', '.advancedSelect');
because if you call chosen without any selector the it will be applied to all select elements in the page and thus will break any functionality for 3PD extension that have javascript that manipulates any selects.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. Without selector the default one is .advancedSelect
.
https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/html/formbehavior.php#L40
See new PR #11229 |
I have tested this item ✅ successfully on 65e5538 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11168. |
1 similar comment
I have tested this item ✅ successfully on 65e5538 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11168. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11168. |
Pull Request for Issue #11155 .
Summary of Changes
Added postfix for attributes id and for in HTML and JS.
Testing Instructions
See #11155 please.
Test also with setting autosuggest if there are any conflicts with jquery.autocomplete.min.js
Test also with activated cache in module. I'm not sure...