Roo/bootstrap/Button.js
[roojs1] / Roo / bootstrap / Button.js
index 36dadbf..29beaf8 100644 (file)
@@ -345,6 +345,10 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
     {
         this.el.select('.roo-button-text',true).first().dom.innerHTML = str;
     },
+    getText : function()
+    {
+        return this.el.select('.roo-button-text',true).first().dom.innerHTML;
+    },
     hide: function() {