-
-
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
[5.1] Fix JavaScript error caused by using "switcher" layout for radio buttons in subforms #43804
[5.1] Fix JavaScript error caused by using "switcher" layout for radio buttons in subforms #43804
Conversation
There need to fix JS. |
Many thanks for your feedback, @Fedik. Updated. |
Thanks, yes that will work. hmhm, I will look later, in detail. |
build/media_source/system/js/fields/joomla-field-subform.w-c.es6.js
Outdated
Show resolved
Hide resolved
…specified classes not exist.
I have tested this item ✅ successfully on c2802cf This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43804. |
I have tested this item ✅ successfully on c2802cf This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43804. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43804. |
Thx |
…o buttons in subforms (joomla#43804)
…o buttons in subforms (joomla#43804)
Pull Request for Issue #43800.
Summary of Changes
Updated subform JavaScript behaviours to look for .switcher when .radio is not found.
Testing Instructions
Actual result BEFORE applying this Pull Request
A subform item is created and added to the subform, but the following JavaScript error occurs, which interferes with any other JavaScript attempting to run.
(Error trace taken with debug mode enabled.)
Expected result AFTER applying this Pull Request
A subform item is created and added to the subform without any JavaScript errors occurring.
Link to documentations
No documentation changes for docs.joomla.org needed.
No documentation changes for manual.joomla.org needed.