Roo/bootstrap/Container.js
authoredward <edward@roojs.com>
Thu, 7 Dec 2017 09:08:57 +0000 (17:08 +0800)
committeredward <edward@roojs.com>
Thu, 7 Dec 2017 09:08:57 +0000 (17:08 +0800)
Roo/bootstrap/Container.js

index 3938247..a81c344 100644 (file)
@@ -312,6 +312,15 @@ Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component,  {
         return this.el.select('.panel-heading',true).first()
     },
     
+    bodyEl : function()
+    {
+        if(!this.el || !this.panel.length){
+            return;
+        }
+        
+        return this.el.select('.panel-body',true).first()
+    },
+    
     titleEl : function()
     {
         if(!this.el || !this.panel.length || !this.header.length){