fix button # triggering url change
[roojs1] / Roo / bootstrap / Button.js
index e35ceab..0c8e725 100644 (file)
@@ -355,7 +355,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
         }
         
         Roo.log('button on click ');
-        if(this.preventDefault){
+        if(this.href === '' || this.preventDefault){
             e.preventDefault();
         }