Roo/bootstrap/Container.js
authorAlan Knowles <alan@roojs.com>
Wed, 17 Feb 2016 03:02:09 +0000 (11:02 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 17 Feb 2016 03:02:09 +0000 (11:02 +0800)
Roo/bootstrap/Container.js

index 0c50d83..c6b9e14 100644 (file)
@@ -268,7 +268,8 @@ Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component,  {
             
             this.expanded = false;
             
-            this.el.select('.panel-body',true).first().setVisibilityMode(Roo.Element.DISPLAY).hide();
+            //this.el.select('.panel-body',true).first().setVisibilityMode(Roo.Element.DISPLAY).hide();
+            this.el.select('.panel-body',true).first().addClass('hide');
         
             var toggleEl = this.toggleEl();