pcirella / dynatree

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

Drag-n-drop marker position is not correct #205

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Drag-n-drop marker position is not correct when the tree in a absolute div.

this.$dndMarker.css({"left": (pos.left) + "px", "top": (pos.top + "px" 
}).show();

My code to fix it is:

this.$dndMarker.css({"left": (pos.left) + "px", "top": (pos.top + 
$(this.divTree).position().top) + "px" }).show();

Duc
Thin PHP Framework http://thinphp.com

Original issue reported on code.google.com by mrdu...@gmail.com on 7 Jun 2011 at 7:09

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 8 Jun 2011 at 4:41

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

Original comment by moo...@wwwendt.de on 3 Jul 2011 at 2:24

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

Original comment by moo...@wwwendt.de on 3 Jul 2011 at 2:36

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