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

index 980fcad..9711a26 100644 (file)
@@ -282,9 +282,18 @@ Roo.extend(Roo.bootstrap.Container, Roo.bootstrap.Component,  {
         }
         
         return titleEl.dom.innerHTML;
-    }
-    
+    },
     
+    setRightTitle : function(v)
+    {
+        var t = this.el.select('.panel-header-right',true).first()
+        
+        if(!t){
+            return;
+        }
+        
+        t.dom.innerHTML = v;
+    }
    
 });