Roo/bootstrap/panel/Content.js
authoredward <edward@roojs.com>
Wed, 6 Dec 2017 04:25:43 +0000 (12:25 +0800)
committeredward <edward@roojs.com>
Wed, 6 Dec 2017 04:25:43 +0000 (12:25 +0800)
Roo/bootstrap/panel/Content.js

index cbf24f6..98d20d7 100644 (file)
@@ -241,6 +241,12 @@ Roo.extend(Roo.bootstrap.panel.Content, Roo.bootstrap.Component, {
     },
 
     ignoreResize : function(w, h){
+        
+        if(this.lastSize && (this.lastSize.width == 0 || this.lastSize.height)){
+            this.lastSize = {width: w, height: h};
+            return false;
+        }
+        
         if(this.lastSize && this.lastSize.width == w && this.lastSize.height == h){
             return true;
         }else{