Merge branch '3.2' into 3.3

This commit is contained in:
Daniel Hensby 2016-06-13 12:29:45 +01:00
commit 695c18ac6d
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -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;
}