Roo/bootstrap/Button.js
authorEdward <edward@roojs.com>
Mon, 31 Mar 2014 10:54:17 +0000 (18:54 +0800)
committerEdward <edward@roojs.com>
Mon, 31 Mar 2014 10:54:17 +0000 (18:54 +0800)
Roo/bootstrap/Button.js

index d32e427..6d61f14 100644 (file)
@@ -203,7 +203,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
             var value = cfg.html;
             
             if(this.glyphicon){
-                cfg.cn = [
+                value = [
                     {
                         tag: 'span',
                         cls: 'glyphicon glyphicon-' + this.glyphicon,