projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3588603
)
Roo/bootstrap/CheckBox.js
author
edward
<edward@roojs.com>
Mon, 5 Oct 2015 03:10:34 +0000
(11:10 +0800)
committer
edward
<edward@roojs.com>
Mon, 5 Oct 2015 03:10:34 +0000
(11:10 +0800)
Roo/bootstrap/CheckBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/CheckBox.js
b/Roo/bootstrap/CheckBox.js
index
8f7f0dd
..
a321f85
100644
(file)
--- a/
Roo/bootstrap/CheckBox.js
+++ b/
Roo/bootstrap/CheckBox.js
@@
-319,7
+319,7
@@
Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input, {
if(
this.disabled ||
(this.inputType == 'radio' && this.getValue().length) ||
- (this.inputType == 'checkbox' && this.
getValue() == this.inputValue
)
+ (this.inputType == 'checkbox' && this.
validateGroup()
)
){
this.markValid();
return true;
@@
-327,6
+327,11
@@
Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input, {
this.markInvalid();
return false;
+ },
+
+ validateGroup : function()
+ {
+
}
});