From 99530eb000d9682311d4f656baa051a452e5b416 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 22 Jul 2014 17:49:34 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 5fce2500a4..4fa7eb7f9f 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -95,7 +95,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { } else { cfg.tag = this.tag; } - cfg.html = this.html || cfg.html; + cfg.html = '' + (this.html || cfg.html) + ''; if (this.toggle == true) { cfg={ @@ -327,6 +327,10 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { this.setActive(!active); + }, + setText : function(str) + { + } -- 2.39.2