Fixed radio button bug in base.js (#8068)

This commit is contained in:
Christopher Govender - Kubiec
2018-06-14 20:09:34 +01:00
committed by Sébastien Ros
parent b683eaaef0
commit 4121ccabce

View File

@@ -175,7 +175,7 @@
if (controller.is(":checkbox")) {
controller.click($(this).toggleWhatYouControl).each($(this).toggleWhatYouControl);
} else if (controller.is(":radio")) {
$("[name='" + controller.attr("name") + "']").click(function () { $("[name='" + $(this).attr("name") + "']").each($(this).toggleWhatYouControl); });
$("[name='" + controller.attr("name") + "']").click(function () { $("[name='" + $(this).attr("name") + "']").each($(this).toggleWhatYouControl); }).each($(this).toggleWhatYouControl);
}
else if (controller.is("option")) {
controller.parent().change(function() {