CC-2899: Error on stream setting page can be hidden by a collapsed section
- fixed
This commit is contained in:
parent
1c652b6416
commit
bd4c9f9651
airtime_mvc/public/js/airtime/preferences
|
@ -2,8 +2,8 @@ function showErrorSections() {
|
||||||
|
|
||||||
$(".errors").each(function(i){
|
$(".errors").each(function(i){
|
||||||
if($(this).length > 0){
|
if($(this).length > 0){
|
||||||
// -250 is due to static panel on the top
|
$(window).scrollTop($(this).closest("div").position().top);
|
||||||
$(window).scrollTop($(this).closest("div").position().top-250);
|
$(this).closest("fieldset").removeClass('closed');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue