mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge branch '3.2' into 3.3
This commit is contained in:
commit
695c18ac6d
@ -347,7 +347,7 @@
|
||||
|
||||
//Fall back to nearest visible element if hidden (for select type fields)
|
||||
if(!$(elementID).is(':visible')){
|
||||
elementID = '#' + $(elementID).closest('.field').attr('id');
|
||||
elementID = '#' + $(elementID).closest('.field:visible').attr('id');
|
||||
scrollY = $(elementID).position().top;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user