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.
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.
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...