| Issue 185: | Drag and Drop, example 2 looks broken | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Open the Example: Drag'n'Drop 2 2. Drag "Folder 2" onto "Sub-item 2.2" 3. The drop doesn't finish, and get's stuck. An exception is thrown in firebug. What is the expected output? What do you see instead? I thought the drag operation wouldn't succeed. It should have a red X while hovering over the node. The exception shouldn't be thrown, but be dealt with :) What version of the product are you using? SVN version 482 On what operating system and browser? Linux and Firefox Please provide any additional information below. It looks like alot is commented out in sample-dnd2.html, like starting on line 51. Maybe it was just forget to uncomment it.
Jun 5, 2011
Release 1.1.2 is rather a feature release 1.2.0
Labels:
Milestone-Release1.2
Jul 17, 2012
considered verified
Jul 17, 2012
(No comment was entered for this change.)
Status:
Verified
|
There was a missing // Prevent dropping a parent below it's own child if(node.isDescendantOf(sourceNode)) return false;Labels: Milestone-Release1.1.2