projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c86b16d
)
Roo/tree/TreeDropZone.js
author
Alan Knowles
<alan@roojs.com>
Tue, 10 Jul 2012 07:15:42 +0000
(15:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 10 Jul 2012 07:15:42 +0000
(15:15 +0800)
Roo/tree/TreeDropZone.js
patch
|
blob
|
history
diff --git
a/Roo/tree/TreeDropZone.js
b/Roo/tree/TreeDropZone.js
index
2236ac3
..
279b58c
100644
(file)
--- a/
Roo/tree/TreeDropZone.js
+++ b/
Roo/tree/TreeDropZone.js
@@
-150,7
+150,10
@@
Roo.extend(Roo.tree.TreeDropZone, Roo.dd.DropZone, {
Roo.log('node out');
Roo.log(dd);
Roo.log(e);
-
+ var t = Roo.lib.Dom.getY(dragEl);
+ var b = t + dragEl.offsetHeight;
+ var y = Roo.lib.Event.getPageY(e);
+ Roo.log([ t,b,y]);
this.cancelExpand();
this.removeDropIndicators(n);