mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixed controller for SELECT input controls.
When using a SELECT input control, that control itself would be initialized with the call to "toggleWhatYouControl" instead of its child OPTION elements.
This commit is contained in:
@@ -180,7 +180,8 @@
|
||||
else if (controller.is("option")) {
|
||||
controller.parent().change(function() {
|
||||
controller.toggleWhatYouControl();
|
||||
}).each($(this).toggleWhatYouControl);
|
||||
});
|
||||
controller.each($(this).toggleWhatYouControl);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user