details:   https://code.tryton.org/tryton/commit/a78eeb912f49
branch:    8.0
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
        (grafted from 52faa4f70a4769ec80560b5b9e2b4eec0a94e267)
diffstat:

 sao/src/view/form.js |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d50df0f861c7 -r a78eeb912f49 sao/src/view/form.js
--- a/sao/src/view/form.js      Wed Jul 01 23:12:37 2026 +0200
+++ b/sao/src/view/form.js      Tue Jun 30 22:03:11 2026 +0200
@@ -926,7 +926,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);

Reply via email to