details: https://code.tryton.org/tryton/commit/52faa4f70a47
branch: default
user: Nicolas Évrard <[email protected]>
date: Tue Jun 30 22:03:11 2026 +0200
description:
Find the page in the direct children only
Closes #14918
diffstat:
sao/src/view/form.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r eb3ec477d09b -r 52faa4f70a47 sao/src/view/form.js
--- a/sao/src/view/form.js Tue Jun 23 22:03:36 2026 +0200
+++ b/sao/src/view/form.js Tue Jun 30 22:03:11 2026 +0200
@@ -931,7 +931,7 @@
return this.nav.find("li[role='presentation']").length;
},
get_nth_page: function(page_index) {
- return jQuery(this.panes.find("div[role='tabpanel']")[page_index]);
+ return
jQuery(this.panes.children("div[role='tabpanel']")[page_index]);
},
set_state: function(record) {
Sao.View.Form.Notebook._super.set_state.call(this, record);