CC-3052: Stream settings collapse when req. input is missing
- fixed. It was only handling error in the "Additional Input"
This commit is contained in:
parent
4820bb617b
commit
1b3d61913b
|
@ -2,9 +2,12 @@ function showErrorSections() {
|
||||||
|
|
||||||
$(".errors").each(function(i){
|
$(".errors").each(function(i){
|
||||||
if($(this).length > 0){
|
if($(this).length > 0){
|
||||||
$(window).scrollTop($(this).closest("div").position().top);
|
var div = $(this).closest("div")
|
||||||
$(this).closest("fieldset").removeClass('closed');
|
if(div.attr('class') == "stream-setting-content"){
|
||||||
return false;
|
$(this).closest("div").show();
|
||||||
|
$(this).closest("fieldset").removeClass('closed');
|
||||||
|
$(window).scrollTop($(this).closest("div").position().top);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue