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