mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge branch '4.5' into 4
This commit is contained in:
commit
b766d2a9a2
@ -84,9 +84,9 @@ jQuery(function ($) {
|
||||
error.addClass('message');
|
||||
|
||||
if (element.is(':radio') || element.parents('.checkboxset').length > 0) {
|
||||
error.insertAfter(element.closest('ul'));
|
||||
error.appendTo(element.closest('.middleColumn'));
|
||||
} else if (element.parents('.checkbox').length > 0) {
|
||||
error.insertAfter(element.next('label'));
|
||||
error.appendTo(element.closest('.field'));
|
||||
} else {
|
||||
error.insertAfter(element);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user