Opened 13 years ago

Closed 12 years ago

#2200 closed defect (wontfix)

TreeLoadingControllerV3: expandToLevel doesn't work properly when synchronous

Reported by: gvillot@… Owned by: bill
Priority: high Milestone: 0.9
Component: Widgets Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:

Description

Hi, when expanding a node to more than 1 level in a synchronous way, the node is only expanded to the first level. The reason is that the "skipFirst" parameter is missing when calling the "recurseToLevel" method (TreeLoadingControllerV3.js, line 219) recursively. I changed line 240: from: deferreds.push(_this.recurseToLevel(children[i], level-1, callFunc, callObj, sync));

to: deferreds.push(_this.recurseToLevel(children[i], level-1, callFunc, callObj, skipFirst, sync));

cheers, georges.

Change History (2)

comment:1 Changed 12 years ago by dylan

Milestone: 0.9

comment:2 Changed 12 years ago by bill

Resolution: wontfix
Status: newclosed

expandToLevel not supported in Dijit.

Note: See TracTickets for help on using tickets.