Roo/bootstrap/Button.js
authorEdward <edward@roojs.com>
Tue, 8 Apr 2014 10:24:21 +0000 (18:24 +0800)
committerEdward <edward@roojs.com>
Tue, 8 Apr 2014 10:24:21 +0000 (18:24 +0800)
Roo/bootstrap/Button.js

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