Roo/bootstrap/Container.js
authoredward <edward@roojs.com>
Fri, 4 Dec 2015 06:05:56 +0000 (14:05 +0800)
committeredward <edward@roojs.com>
Fri, 4 Dec 2015 06:05:56 +0000 (14:05 +0800)
Roo/bootstrap/Container.js

index 1c44d60..de2aee5 100644 (file)
@@ -49,7 +49,7 @@ Roo.bootstrap.Container = function(config){
          * 
          * @param {Roo.bootstrap.Container} this
          */
-        "collapse" : true,
+        "collapse" : true
     });
 };
 
@@ -236,7 +236,7 @@ Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component,  {
     
     expand : function()
     {
-//        if(this.fireEvent('expand', this)) {
+        if(this.fireEvent('expand', this)) {
             this.el.select('.panel-body',true).first().setVisibilityMode(Roo.Element.DISPLAY).show();
         
             var toggleEl = this.toggleEl();
@@ -246,7 +246,7 @@ Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component,  {
             }
 
             toggleEl.removeClass(['fa-minus', 'fa-plus']).addClass(['fa-minus']);
-//        }
+        }
         
     },