git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.3.1 - Released 11/30/2010
[extjs.git]
/
src
/
widgets
/
form
/
BasicForm.js
diff --git
a/src/widgets/form/BasicForm.js
b/src/widgets/form/BasicForm.js
index
bad1ebe
..
2de4614
100644
(file)
--- a/
src/widgets/form/BasicForm.js
+++ b/
src/widgets/form/BasicForm.js
@@
-1,8
+1,8
@@
/*!
/*!
- * Ext JS Library 3.3.
0
- * Copyright(c) 2006-2010
Ext JS,
Inc.
- * licensing@
extjs
.com
- * http://www.
extjs
.com/license
+ * Ext JS Library 3.3.
1
+ * Copyright(c) 2006-2010
Sencha
Inc.
+ * licensing@
sencha
.com
+ * http://www.
sencha
.com/license
*/
/**
* @class Ext.form.BasicForm
*/
/**
* @class Ext.form.BasicForm
@@
-475,12
+475,14
@@
myFormPanel.getForm().submit({
*/
updateRecord : function(record){
record.beginEdit();
*/
updateRecord : function(record){
record.beginEdit();
- var fs = record.fields;
+ var fs = record.fields,
+ field,
+ value;
fs.each(function(f){
fs.each(function(f){
-
var
field = this.findField(f.name);
+ field = this.findField(f.name);
if(field){
if(field){
- va
r va
lue = field.getValue();
- if (
value.getGroupValue
) {
+ value = field.getValue();
+ if (
typeof value != undefined && value.getGroupValue
) {
value = value.getGroupValue();
} else if ( field.eachItem ) {
value = [];
value = value.getGroupValue();
} else if ( field.eachItem ) {
value = [];