projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c66e20
)
Roo/bootstrap/CheckBox.js
author
Edward
<edward@roojs.com>
Mon, 28 Apr 2014 04:39:36 +0000
(12:39 +0800)
committer
Edward
<edward@roojs.com>
Mon, 28 Apr 2014 04:39:36 +0000
(12:39 +0800)
Roo/bootstrap/CheckBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/CheckBox.js
b/Roo/bootstrap/CheckBox.js
index
f0b75b5
..
5f9cd3f
100644
(file)
--- a/
Roo/bootstrap/CheckBox.js
+++ b/
Roo/bootstrap/CheckBox.js
@@
-51,7
+51,7
@@
Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input, {
id : id,
type : this.inputType,
value : this.value,
- cls : 'form-c
ontrol form-c
heckbox',
+ cls : 'form-checkbox',
placeholder : this.placeholder || ''
};
@@
-154,6
+154,14
@@
Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input, {
},
+ /**
+ * return the real input element.
+ */
+ inputEl: function ()
+ {
+ return this.el.select('input.form-control',true).first();
+ },
+
initEvents : function()
{