From 55390e40f023a0365875d689d02be9fd6b94ac1a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 22 Jul 2014 18:01:05 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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(); } - */ + }); -- 2.39.2