issue12553.diff # [sao] Select first visible siblings when page is hidden
#162155
This commit is contained in:
parent
9c11c6bc5e
commit
2633b888d8
|
@ -0,0 +1,13 @@
|
|||
diff --git a/tryton/sao/src/view/form.js b/tryton/sao/src/view/form.js
|
||||
index 7c291d6c5a..50167d704a 100644
|
||||
--- a/tryton/sao/src/view/form.js
|
||||
+++ b/tryton/sao/src/view/form.js
|
||||
@@ -872,7 +872,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');
|
||||
}
|
||||
}
|
||||
});
|
2
series
2
series
|
@ -129,3 +129,5 @@ issue12678.diff # [account_statement] Not delete statement lines when statament
|
|||
issue11590.diff # [bank] Hide inactive accounts from party bank accounts
|
||||
|
||||
issue7697.diff # [stock] Do not compute internal quantity for stock move created without product nor unit
|
||||
|
||||
issue12553.diff # [sao] Select first visible siblings when page is hidden
|
||||
|
|
Loading…
Reference in New Issue