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

index 64b77e7..09be098 100644 (file)
@@ -81,8 +81,8 @@ Roo.extend(Roo.bootstrap.menu.Menu, Roo.bootstrap.Component,  {
             cls : 'btn-group',
             cn : [
                 {
-                    tag : 'button dropdown-button',
-                    cls : 'btn btn-' + this.weight,
+                    tag : 'button',
+                    cls : 'dropdown-button btn btn-' + this.weight,
                     html : this.html
                 },
                 {
@@ -125,7 +125,6 @@ Roo.extend(Roo.bootstrap.menu.Menu, Roo.bootstrap.Component,  {
         this.triggerEl.on('click', this.onTriggerPress, this);
         
         this.buttonEl = this.el.select('button.dropdown-button', true).first();
-        Roo.log(this.buttonEl);
         this.buttonEl.on('click', this.onClick, this);
         
     },