X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FButton.js;h=4fa7eb7f9f5037be425831ca0384f94e72a9df77;hb=99530eb000d9682311d4f656baa051a452e5b416;hp=5fce2500a424b165cd68fc794861e51b6bf1d1e9;hpb=2e0e5ad7676de91f7c23352f4fad5ba7b4bc0277;p=roojs1 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) + { + }