projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6217630
)
Roo/Element.js
author
edward
<edward@roojs.com>
Wed, 28 Oct 2015 08:05:11 +0000
(16:05 +0800)
committer
edward
<edward@roojs.com>
Wed, 28 Oct 2015 08:05:11 +0000
(16:05 +0800)
Roo/Element.js
patch
|
blob
|
history
diff --git
a/Roo/Element.js
b/Roo/Element.js
index
ca958d9
..
353b8ba
100644
(file)
--- a/
Roo/Element.js
+++ b/
Roo/Element.js
@@
-301,6
+301,7
@@
if(opt.anim.isAnimated()){
* @return {Roo.Element} this
*/
scrollIntoView : function(container, hscroll){
+ Roo.log('scrollIntoView!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
var c = Roo.getDom(container) || document.body;
var el = this.dom;
@@
-310,6
+311,7
@@
if(opt.anim.isAnimated()){
b = t+el.offsetHeight,
r = l+el.offsetWidth;
Roo.log(o);
+
var ch = c.clientHeight;
var ct = parseInt(c.scrollTop, 10);
var cl = parseInt(c.scrollLeft, 10);