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

Roo/bootstrap/Container.js
roojs-bootstrap-debug.js
roojs-bootstrap.js

index be2dca7..fe8d0ec 100644 (file)
@@ -292,7 +292,7 @@ Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component,  {
         }
         
         return this.el.select('.panel-heading',true).first()
-    }
+    },
     
     titleEl : function()
     {
index 0a98000..7281b91 100644 (file)
@@ -1256,7 +1256,7 @@ Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component,  {
         }
         
         return this.el.select('.panel-heading',true).first()
-    }
+    },
     
     titleEl : function()
     {
index c7283c9..543f3b4 100644 (file)
@@ -32,8 +32,7 @@ B=false;A.cn.push({cls:'panel-body',html:this.html});if(this.footer.length){A.cn
 A.on('click',this.onToggleClick,this);},onToggleClick:function(){var A=this.headerEl();if(!A){return;}if(this.expanded){this.collapse();return;}
 this.expand();},expand:function(){if(this.fireEvent('expand',this)){this.expanded=true;this.el.select('.panel-body',true).first().setVisibilityMode(Roo.Element.DISPLAY).show();var A=this.toggleEl();if(!A){return;}
 A.removeClass(['fa-minus','fa-plus']).addClass(['fa-minus']);}},collapse:function(){if(this.fireEvent('collapse',this)){this.expanded=false;this.el.select('.panel-body',true).first().setVisibilityMode(Roo.Element.DISPLAY).hide();var A=this.toggleEl();if(!A){return;}
-A.removeClass(['fa-minus','fa-plus']).addClass(['fa-plus']);}},toggleEl:function(){if(!this.el||!this.panel.length||!this.header.length||!this.expandable){return;}return this.el.select('.panel-heading .fa',true).first();},headerEl:function(){if(!this.el||!this.panel.length||!this.header.length){return;}return this.el.select('.panel-heading',true).first()}
-titleEl:function(){if(!this.el||!this.panel.length||!this.header.length){return;}return this.el.select('.panel-title',true).first();},setTitle:function(v){var A=this.titleEl();if(!A){return;}
+A.removeClass(['fa-minus','fa-plus']).addClass(['fa-plus']);}},toggleEl:function(){if(!this.el||!this.panel.length||!this.header.length||!this.expandable){return;}return this.el.select('.panel-heading .fa',true).first();},headerEl:function(){if(!this.el||!this.panel.length||!this.header.length){return;}return this.el.select('.panel-heading',true).first()},titleEl:function(){if(!this.el||!this.panel.length||!this.header.length){return;}return this.el.select('.panel-title',true).first();},setTitle:function(v){var A=this.titleEl();if(!A){return;}
 A.dom.innerHTML=v;},getTitle:function(){var A=this.titleEl();if(!A){return '';}return A.dom.innerHTML;},setRightTitle:function(v){var t=this.el.select('.panel-header-right',true).first();if(!t){return;}
 t.dom.innerHTML=v;}});
 //Roo/bootstrap/Img.js