From: Alan Knowles Date: Tue, 22 Jul 2014 10:01:05 +0000 (+0800) Subject: Roo/bootstrap/Button.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=55390e40f023a0365875d689d02be9fd6b94ac1a Roo/bootstrap/Button.js --- diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index f6566f751f..be11b76910 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -79,8 +79,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { pressed : null, - - actionMode : 'el', + getAutoCreate : function(){ @@ -332,7 +331,7 @@ 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. @@ -342,7 +341,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { this.el.show(); } - */ + });