Roo/bootstrap/Button.js
[roojs1] / 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';