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

index 01262cf..53751fe 100644 (file)
@@ -94,6 +94,9 @@ Roo.extend(Roo.bootstrap.layout.Manager, Roo.bootstrap.Component, {
         this.id = this.el.id;
         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());
+        }
 
     },