projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7090787
)
Roo/tree/TreeDragZone.js
author
Alan Knowles
<alan@roojs.com>
Tue, 10 Jul 2012 10:19:42 +0000
(18:19 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 10 Jul 2012 10:19:42 +0000
(18:19 +0800)
Roo/tree/TreeDragZone.js
patch
|
blob
|
history
diff --git
a/Roo/tree/TreeDragZone.js
b/Roo/tree/TreeDragZone.js
index
010902e
..
0ca5e8c
100644
(file)
--- a/
Roo/tree/TreeDragZone.js
+++ b/
Roo/tree/TreeDragZone.js
@@
-63,6
+63,7
@@
Roo.extend(Roo.tree.TreeDragZone, Roo.dd.DragZone, {
if (this.scroll) {
var box = this.el.getBox();
+ var scroll = this.el.getScroll();
// The client height
var clientH = box.height;
@@
-71,10
+72,10
@@
Roo.extend(Roo.tree.TreeDragZone, Roo.dd.DragZone, {
var clientW = box.width;
// The amt scrolled down
- var st =
this.DDM.getScrollTop()
;
+ var st =
scroll.top
;
// The amt scrolled right
- var sl =
this.DDM.getScrollLeft()
;
+ var sl =
scroll.left
;
// Location of the bottom of the element
var bot = h + y;