projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Roo/bootstrap/Button.js
[roojs1]
/
Roo
/
bootstrap
/
Button.js
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
29d9292
..
f936aab
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-235,10
+235,13
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
onClick : function(e)
{
Roo.log('button on click ');
+
+ this.fireEvent('click', this, e);
+
if(this.tag !== 'a' || this.href === ''){
e.preventDefault();
}
- this.fireEvent('click', this, e);
+
}