projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef0a96e
)
Roo/bootstrap/Button.js
author
Alan Knowles
<alan@roojs.com>
Fri, 7 Feb 2014 07:33:11 +0000
(15:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 7 Feb 2014 07:33:11 +0000
(15:33 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
79244b0
..
c6bc872
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-221,12
+221,9
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
initEvents: function() {
// Roo.log('init events?');
// Roo.log(this.el.dom);
- this.el.select('a',true).on('click',
- function(e) {
- this.fireEvent('click', this);
- },
- this
- );
+ this.el.select('a',true).relayEvent('click', this);
+ this.el.select('button',true).relayEvent('click', this);
+
}
});