Select first visible siblings when page is hidden
We need to search for all siblings because the next page may also be invisible. Closes #12553
This commit is contained in:
@@ -905,7 +905,7 @@ function eval_pyson(value){
|
||||
hide: function() {
|
||||
Sao.View.Form.Page._super.hide.call(this);
|
||||
if (this.el.hasClass('active')) {
|
||||
this.el.next(':visible').find('a').tab('show');
|
||||
this.el.siblings(':visible').first().find('a').tab('show');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user