Roo/bootstrap/Container.js
authoredward <edward@roojs.com>
Mon, 14 Dec 2015 02:53:21 +0000 (10:53 +0800)
committeredward <edward@roojs.com>
Mon, 14 Dec 2015 02:53:21 +0000 (10:53 +0800)
Roo/bootstrap/Container.js

index 6f1980f..7ee2617 100644 (file)
@@ -242,6 +242,9 @@ Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component,  {
     expand : function()
     {
         if(this.fireEvent('expand', this)) {
+            
+            this.expanded = true;
+            
             this.el.select('.panel-body',true).first().setVisibilityMode(Roo.Element.DISPLAY).show();
         
             var toggleEl = this.toggleEl();