Roo/bootstrap/menu/Menu.js
authorEdward <edward@roojs.com>
Fri, 5 Dec 2014 04:03:40 +0000 (12:03 +0800)
committerEdward <edward@roojs.com>
Fri, 5 Dec 2014 04:03:40 +0000 (12:03 +0800)
Roo/bootstrap/menu/Menu.js

index dbcdf55..ece4881 100644 (file)
@@ -85,7 +85,12 @@ Roo.extend(Roo.bootstrap.menu.Menu, Roo.bootstrap.Component,  {
                 {
                     tag : 'button',
                     cls : 'dropdown-button btn btn-' + this.weight,
-                    html : this.html
+                    cn : [
+                        {
+                            tag : 'span',
+                            html : this.html
+                        }
+                    ]
                 },
                 {
                     tag : 'button',