projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e46e8d3
)
Roo/form/BasicForm.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 29 Jul 2010 06:58:48 +0000
(14:58 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 29 Jul 2010 06:58:48 +0000
(14:58 +0800)
Roo/form/BasicForm.js
patch
|
blob
|
history
diff --git
a/Roo/form/BasicForm.js
b/Roo/form/BasicForm.js
index
0d22583
..
f8e9137
100644
(file)
--- a/
Roo/form/BasicForm.js
+++ b/
Roo/form/BasicForm.js
@@
-305,8
+305,12
@@
clientValidation Boolean Applies to submit only. Pass true to call fo
* @param {Roo.form.Form} form to add.
*
*/
- addForm : function(form){
+ addForm : function(form)
+ {
+ if (this.childForms.indexOf(form) > -1) {
+ return;
+ }
this.childForms.push(form);
Roo.each(form.allItems, function (fe) {