Roo/bootstrap/layout/Manager.js
authorAlan Knowles <alan@roojs.com>
Thu, 13 Jul 2017 07:22:46 +0000 (15:22 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 13 Jul 2017 07:22:46 +0000 (15:22 +0800)
Roo/bootstrap/layout/Manager.js

index 53751fe..4f12e84 100644 (file)
@@ -95,7 +95,7 @@ Roo.extend(Roo.bootstrap.layout.Manager, Roo.bootstrap.Component, {
         this.el.addClass("roo-layout-container");
         Roo.EventManager.onWindowResize(this.onWindowResize, this, true);
         if(this.el.dom != document.body ) {
-            this.el.on('resize', this.layout());
+            this.el.on('resize', this.layout,this);
         }
 
     },