projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a46f7b1
)
Roo/form/Radio.js
author
Alan
<alan@roojs.com>
Fri, 23 Sep 2022 03:26:10 +0000
(11:26 +0800)
committer
Alan
<alan@roojs.com>
Fri, 23 Sep 2022 03:26:10 +0000
(11:26 +0800)
Roo/form/Radio.js
patch
|
blob
|
history
diff --git
a/Roo/form/Radio.js
b/Roo/form/Radio.js
index
e0eec95
..
c2bc62d
100644
(file)
--- a/
Roo/form/Radio.js
+++ b/
Roo/form/Radio.js
@@
-76,7
+76,9
@@
Roo.extend(Roo.form.Radio, Roo.form.Checkbox, {
// this.el.dom.defaultChecked = this.checked;
//}
this.setChecked(String(v) === String(this.inputValue), suppressEvent);
// this.el.dom.defaultChecked = this.checked;
//}
this.setChecked(String(v) === String(this.inputValue), suppressEvent);
+ this.inSetChecked = true;
this.el.dom.form[this.name] = v;
this.el.dom.form[this.name] = v;
+ this.inSetChecked = false;
//this.fireEvent("check", this, this.checked);
},
// private..
//this.fireEvent("check", this, this.checked);
},
// private..
@@
-95,10
+97,9
@@
Roo.extend(Roo.form.Radio, Roo.form.Checkbox, {
if(suppressEvent !== true){
this.fireEvent('check', this, state);
}
if(suppressEvent !== true){
this.fireEvent('check', this, state);
}
- this.inSetChecked = true;
- this.inSetChecked = false;
+
}
}