From 5d63b96b72c24e68a141079417ca00785beb799f Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 22 Jul 2014 17:58:34 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 4b2d5b9530..4626b5de98 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -331,10 +331,17 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { setText : function(str) { this.el.select('.roo-button-text',true).first().dom.innerHTML = str; + }, + hide: function() { + + this.el.hide(); + }, + show: function() { + + this.el.show(); } - }); \ No newline at end of file -- 2.39.2