projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc9ff3d
)
Roo/bootstrap/Button.js
author
Edward
<edward@roojs.com>
Mon, 31 Mar 2014 06:43:20 +0000
(14:43 +0800)
committer
Edward
<edward@roojs.com>
Mon, 31 Mar 2014 06:43:20 +0000
(14:43 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
625bba5
..
88ad1cf
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-237,9
+237,10
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
onClick : function(e)
{
Roo.log('button on click ');
- if(this.
tag !== 'a' || this.href === ''
){
+ if(this.
preventDefault
){
e.preventDefault();
}
+
this.fireEvent('click', this, e);
}