Opened 10 years ago

Closed 10 years ago

#10079 closed defect (fixed)

Tree expand fail at dnd dropping

Reported by: youngho Owned by:
Priority: high Milestone: 1.4
Component: Dijit Version: 1.3.2
Keywords: tree dnd Cc:
Blocked By: Blocking:

Description

Because of recent change the tree dnd fail.

I attached test case. if you dragg a coutry from asia's country dnd Source and put into asia tree, there is not tree expand at all.

Attachments (1)

test_Tree_DnD2.html (4.9 KB) - added by youngho 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by youngho

Attachment: test_Tree_DnD2.html added

comment:1 Changed 10 years ago by bill

Milestone: tbd1.4

Thanks for the report, I'll take a look. It doesn't seem related to DnD, I can't the bottom tree at all.

comment:2 Changed 10 years ago by bill

Resolution: fixed
Status: newclosed

(In [20526]) When opening a node for the first time (triggering a model.getChildren()), even if the model reports that the node has no children let it be marked as expanded (with containerNode's style="", not "display: none"). This makes things consistent, since node._expandNodeDeferred exists already, indicating that the node is expanded.

Fixes #10079 !strict.

Note: See TracTickets for help on using tickets.