details:   https://code.tryton.org/tryton/commit/02a78a038566
branch:    7.8
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 f5b991f2c4da -r 02a78a038566 sao/src/view/form.js
--- a/sao/src/view/form.js      Wed Jul 01 23:13:13 2026 +0200
+++ b/sao/src/view/form.js      Tue Jun 30 22:03:11 2026 +0200
@@ -922,7 +922,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