From b9085c2f1a931a4e33460552cbd152e87ad2e2da Mon Sep 17 00:00:00 2001 From: Edward Date: Fri, 12 Sep 2014 12:51:45 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 36dadbf4a0..29beaf86a1 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -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() { -- 2.39.2