From: Edward Date: Fri, 12 Sep 2014 04:51:45 +0000 (+0800) Subject: Roo/bootstrap/Button.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=b9085c2f1a931a4e33460552cbd152e87ad2e2da Roo/bootstrap/Button.js --- 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() {