Opened 14 years ago

Closed 13 years ago

Last modified 12 years ago

#415 closed defect (fixed)

Adding programmatically new child to the EditorTree causes "node is not defined" error

Reported by: f.ibrahimov@… Owned by: ilia
Priority: high Milestone:
Component: Widgets Version: 0.2
Keywords: Cc:
Blocked By: Blocking:

Description

Adding programmatically new EditorTreeNode? to the EditorTree? causes "node is not defined" error. Problem can be solved by changing line 346 in file src/widget/EditorTree.js from:

this.domNode.appendChild(node);

to:

this.domNode.appendChild(child.domNode);

Change History (8)

comment:1 Changed 14 years ago by alex

Milestone: 0.3release

comment:2 Changed 14 years ago by alex

Is this a diff against SVN trunk? The suggested patch doesn't make sense against the current EditorTree?.js

comment:3 Changed 14 years ago by anonymous

No it is not a diff. I'll post it later today.

comment:4 Changed 14 years ago by f.ibrahimov@…

Looks like SVN trunk doesn't have this problem. I just went through the code, didn't run it.

comment:5 Changed 14 years ago by skinner

Milestone: 0.3release0.4

looks like this should be marked as closed/fixed -- someone who knows for sure can do that for the 0.4 release

comment:6 Changed 14 years ago by bill

Owner: changed from anonymous to ilia

comment:7 Changed 13 years ago by dylan

Resolution: fixed
Status: newclosed

comment:8 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.