From aeac50c908c3a333152c0fbe0b1a4a53fce201c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Tue, 30 Jun 2026 22:03:11 +0200 Subject: [PATCH] Find the page in the direct children only Closes #14918 (grafted from 52faa4f70a4769ec80560b5b9e2b4eec0a94e267) --HG-- branch : 8.0 --- sao/src/view/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sao/src/view/form.js b/sao/src/view/form.js index ddd0f3b82c..8750395230 100644 --- a/sao/src/view/form.js +++ b/sao/src/view/form.js @@ -926,7 +926,7 @@ function eval_pyson(value){ 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);