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.2.0 - Released 03/30/2010
[extjs.git]
/
examples
/
form
/
xml-form.js
diff --git
a/examples/form/xml-form.js
b/examples/form/xml-form.js
index
22b871c
..
52815d0
100644
(file)
--- a/
examples/form/xml-form.js
+++ b/
examples/form/xml-form.js
@@
-1,6
+1,6
@@
/*!
/*!
- * Ext JS Library 3.
0
.0
- * Copyright(c) 2006-20
09 Ext JS, LLC
+ * Ext JS Library 3.
2
.0
+ * Copyright(c) 2006-20
10 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
*/
* licensing@extjs.com
* http://www.extjs.com/license
*/
@@
-40,10
+40,12
@@
Ext.onReady(function(){
defaultType: 'textfield',
items: [{
fieldLabel: 'First Name',
defaultType: 'textfield',
items: [{
fieldLabel: 'First Name',
+ emptyText: 'First Name',
name: 'first',
width:190
}, {
fieldLabel: 'Last Name',
name: 'first',
width:190
}, {
fieldLabel: 'Last Name',
+ emptyText: 'Last Name',
name: 'last',
width:190
}, {
name: 'last',
width:190
}, {
@@
-95,7
+97,7
@@
Ext.onReady(function(){
text: 'Submit',
disabled:true,
handler: function(){
text: 'Submit',
disabled:true,
handler: function(){
- fs.getForm().submit({url:'xml-errors.xml', waitMsg:'Saving Data...'});
+ fs.getForm().submit({url:'xml-errors.xml', waitMsg:'Saving Data...'
, submitEmptyText: false
});
}
});
}
});