Open Bug 372396 Opened 17 years ago Updated 2 years ago

tree.boxObject.getPageLength() doesn't work anymore

Categories

(Core :: XUL, defect)

x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: cmasset, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2

I'm sure this piece of code was working few month ago (my_tree is a 'tree' object :

var my_tree = document.getElementById(my_tree_id);
var page_length= my_tree .boxObject.getPageLength();

But now it gives me this javascript error :
'my_tree.boxObject.getPageLength is not a function'

I don't understand : when I've tried it few month ago it was working...

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
I know I've made a mistake :) 

var my_tree = document.getElementById(my_tree_id);
var page_length= my_tree.boxObject.getPageLength();

(no more spaces between 'my_tree' and '.boxObject')
but it doesn't work !!!
It seems that something has changed between 'tree.boxObject' (before) and 'tree.treeBoxObject' (now)...
Severity: minor → normal
Ok.... :)
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.