From: Alan Knowles Date: Tue, 22 Jul 2014 09:58:34 +0000 (+0800) Subject: Roo/bootstrap/Button.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=5d63b96b72c24e68a141079417ca00785beb799f Roo/bootstrap/Button.js --- 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