Roo/bootstrap/Button.js
authorAlan Knowles <alan@roojs.com>
Tue, 22 Jul 2014 09:50:04 +0000 (17:50 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 22 Jul 2014 09:50:04 +0000 (17:50 +0800)
Roo/bootstrap/Button.js

index 4fa7eb7..4b2d5b9 100644 (file)
@@ -330,7 +330,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
     },
     setText : function(str)
     {
-        
+        this.el.select('.roo-button-text',true).first().dom.innerHTML = str;
     }