projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76930e8
)
Roo/bootstrap/Radio.js
author
edward
<edward@roojs.com>
Tue, 26 Jun 2018 05:16:16 +0000
(13:16 +0800)
committer
edward
<edward@roojs.com>
Tue, 26 Jun 2018 05:16:16 +0000
(13:16 +0800)
Roo/bootstrap/Radio.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Radio.js
b/Roo/bootstrap/Radio.js
index
7bf9427
..
197188c
100644
(file)
--- a/
Roo/bootstrap/Radio.js
+++ b/
Roo/bootstrap/Radio.js
@@
-19,14
+19,6
@@
Roo.bootstrap.Radio = function(config){
Roo.bootstrap.Radio.superclass.constructor.call(this, config);
- this.addEvents({
- /**
- * @event click
- * Fires when the element is click.
- * @param {Roo.bootstrap.CheckBox} this This input
- */
- click : true
- });
};
Roo.extend(Roo.bootstrap.Radio, Roo.bootstrap.Component, {
@@
-62,6
+54,7
@@
Roo.extend(Roo.bootstrap.Radio, Roo.bootstrap.Component, {
onClick : function()
{
+ if(this.parent().fireEvent(''))
this.setChecked(true);
},