Roo/bootstrap/Button.js
authorEdward <edward@roojs.com>
Wed, 16 Apr 2014 12:07:29 +0000 (20:07 +0800)
committerEdward <edward@roojs.com>
Wed, 16 Apr 2014 12:07:29 +0000 (20:07 +0800)
Roo/bootstrap/Button.js

index 8f65815..e951318 100644 (file)
@@ -171,10 +171,9 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
             delete cfg.html;
             
         } 
-//        else if (this.menu) {
-//            cfg.tag = 'a';
-//            cfg.cls += ' dropdown';
-//        }
+        else if (this.menu) {
+            cfg.cls += ' dropdown';
+        }
         
         if (this.disabled) {
             cfg.disabled = 'disabled';