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

index eac0f08..e689c8b 100644 (file)
@@ -23,7 +23,6 @@ Roo.bootstrap.Body = function(config){
         /**
          * @event resize
          * When window resize
-         * @param {Roo.EventObject} e
          */
         "resize" : true
     });
@@ -52,7 +51,7 @@ Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component,  {
     initEvents: function() 
     {
        
-        this.el.on('click', this.onClick, this);
+        this.fireEvent('resize', this);
     
     }