Roo/Element.js
authoredward <edward@roojs.com>
Wed, 29 Nov 2017 07:57:20 +0000 (15:57 +0800)
committeredward <edward@roojs.com>
Wed, 29 Nov 2017 07:57:20 +0000 (15:57 +0800)
Roo/Element.js

index 7281659..d736cd4 100644 (file)
@@ -191,7 +191,8 @@ if(opt.anim.isAnimated()){
         findScrollableParent : function(){
             
             var el = Roo.get(this.dom.parentNode);
-            Roo.log('D: '+JSON.stringify(D, null, 4));
+//            Roo.log('D: '+JSON.stringify(D, null, 4));
+            Roo.log(el);
             while (
                     el && 
                     (
@@ -207,15 +208,15 @@ if(opt.anim.isAnimated()){
                     el.dom.nodeName.toLowerCase() != 'body'
             ){
                 el = Roo.get(el.dom.parentNode);
-                Roo.log(
-                    'findparent:'+ JSON.stringify(el, null, 4)+
-                    ' | scrollable: '+el.isScrollable()+
-                    ' | D height: '+D.getViewHeight() + 
-                    ' | D width: '+D.getViewWidth() + 
-                    ' | el height: '+el.dom.clientHeight+
-                    ' | el width: '+el.dom.clientWidth+
-                    ' | id: '+el.id
-                );
+//                Roo.log(
+//                    'findparent:'+ JSON.stringify(el, null, 4)+
+//                    ' | scrollable: '+el.isScrollable()+
+//                    ' | D height: '+D.getViewHeight() + 
+//                    ' | D width: '+D.getViewWidth() + 
+//                    ' | el height: '+el.dom.clientHeight+
+//                    ' | el width: '+el.dom.clientWidth+
+//                    ' | id: '+el.id
+//                );
             }
             
             if(!el.isScrollable()){