mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-26 20:16:15 +08:00
Fixed radio button bug in base.js (#8068)
This commit is contained in:
committed by
Sébastien Ros
parent
b683eaaef0
commit
4121ccabce
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user