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

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
12 years ago
11 years ago

People

(Reporter: cmasset, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
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.
(Reporter)

Comment 1

12 years ago
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 !!!
(Reporter)

Comment 2

12 years ago
It seems that something has changed between 'tree.boxObject' (before) and 'tree.treeBoxObject' (now)...
(Reporter)

Updated

12 years ago
Severity: minor → normal
(Reporter)

Comment 3

12 years ago
Ok.... :)

Updated

11 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.