projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb6f771
)
Roo/form/BasicForm.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 29 Jul 2010 06:48:20 +0000
(14:48 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 29 Jul 2010 06:48:20 +0000
(14:48 +0800)
Roo/form/BasicForm.js
patch
|
blob
|
history
diff --git
a/Roo/form/BasicForm.js
b/Roo/form/BasicForm.js
index
d7488c5
..
0d22583
100644
(file)
--- a/
Roo/form/BasicForm.js
+++ b/
Roo/form/BasicForm.js
@@
-416,13
+416,7
@@
clientValidation Boolean Applies to submit only. Pass true to call fo
if (this.childForms) {
// copy values from the child forms
Roo.each(this.childForms, function (f) {
- if (f.allFields) {
- Roo.each(f.allFields, function (e) {
- if (e.name && e.getValue && this.findField(e.name)) {
- this.findField(e.name).setValue(e.getValue());
- }
- }, this);
- }
+ this.setValues(f.getValues());
}, this);
}