projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b2706f
)
Roo/bootstrap/Radio.js
author
Alan Knowles
<alan@roojs.com>
Thu, 30 Jul 2015 07:09:11 +0000
(15:09 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 30 Jul 2015 07:09:11 +0000
(15:09 +0800)
Roo/bootstrap/Radio.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Radio.js
b/Roo/bootstrap/Radio.js
index
d137832
..
879521e
100644
(file)
--- a/
Roo/bootstrap/Radio.js
+++ b/
Roo/bootstrap/Radio.js
@@
-169,6
+169,18
@@
Roo.extend(Roo.bootstrap.Radio, Roo.bootstrap.CheckBox, {
return cfg;
},
+
+ initEvents : function()
+ {
+// Roo.bootstrap.CheckBox.superclass.initEvents.call(this);
+
+ this.inputEl().on('click', this.onClick, this);
+ if (this.boxLabel) {
+ this.el.select('label.box-label',true).first().on('click', this.onClick, this);
+ }
+
+ },
+
inputEl: function ()
{
return this.el.select('input.roo-radio',true).first();