Roo/ContentPanel.js
authorAlan Knowles <alan@akkbhome.com>
Tue, 28 Dec 2010 13:36:39 +0000 (21:36 +0800)
committerAlan Knowles <alan@akkbhome.com>
Tue, 28 Dec 2010 13:36:39 +0000 (21:36 +0800)
Roo/ContentPanel.js

index b891df3..2df80c8 100644 (file)
@@ -109,6 +109,8 @@ Roo.ContentPanel = function(el, config, content){
     });
     if(this.autoScroll){
         this.resizeEl.setStyle("overflow", "auto");
+    } else {
+        this.el.on('scroll', this.el.scrollTop);
     }
     content = content || this.content;
     if(content){
@@ -475,6 +477,7 @@ Roo.NestedLayoutPanel = function(layout, config)
     }
     */
     
+    
     Roo.NestedLayoutPanel.superclass.constructor.call(this, layout.getEl(), config);
     
     layout.monitorWindowResize = false; // turn off autosizing
@@ -483,6 +486,7 @@ Roo.NestedLayoutPanel = function(layout, config)
     
     
     
+    
 };
 
 Roo.extend(Roo.NestedLayoutPanel, Roo.ContentPanel, {