Roo/bootstrap/Body.js
authorEdward <edward@roojs.com>
Fri, 29 Aug 2014 03:13:20 +0000 (11:13 +0800)
committerEdward <edward@roojs.com>
Fri, 29 Aug 2014 03:13:20 +0000 (11:13 +0800)
Roo/bootstrap/Body.js

index bff166f..5cd5105 100644 (file)
@@ -51,9 +51,15 @@ Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component,  {
     
     initEvents: function() 
     {
+        this.el.on('resize', this.onResize, this);
        
-        this.fireEvent('resize', this);
+        
+    
+    },
     
+    onResize: function ()
+    {
+        this.fireEvent('resize', this);
     }
    
 });