Find the page in the direct children only

Closes #14918
(grafted from 52faa4f70a4769ec80560b5b9e2b4eec0a94e267)

--HG--
branch : 8.0
This commit is contained in:
Nicolas Évrard
2026-06-30 22:03:11 +02:00
parent 29ba2841bd
commit aeac50c908
+1 -1
View File
@@ -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);