pcirella / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

Drag and Drop, example 2 looks broken #185

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by davidste...@gmail.com on 9 Mar 2011 at 9:26

Attachments:

GoogleCodeExporter commented 9 years ago
There was a missing
// Prevent dropping a parent below it's own child
if(node.isDescendantOf(sourceNode))
    return false;

Original comment by moo...@wwwendt.de on 10 Mar 2011 at 5:34

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r483.

Original comment by moo...@wwwendt.de on 10 Mar 2011 at 5:35

GoogleCodeExporter commented 9 years ago
Release 1.1.2 is rather a feature release 1.2.0

Original comment by moo...@wwwendt.de on 6 Jun 2011 at 5:34

GoogleCodeExporter commented 9 years ago
considered verified

Original comment by moo...@wwwendt.de on 17 Jul 2012 at 4:16

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 17 Jul 2012 at 4:19