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){
|
||||
if($(this).length > 0){
|
||||
$(window).scrollTop($(this).closest("div").position().top);
|
||||
$(this).closest("fieldset").removeClass('closed');
|
||||
return false;
|
||||
var div = $(this).closest("div")
|
||||
if(div.attr('class') == "stream-setting-content"){
|
||||
$(this).closest("div").show();
|
||||
$(this).closest("fieldset").removeClass('closed');
|
||||
$(window).scrollTop($(this).closest("div").position().top);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue