/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
- * 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
*/
Ext.onReady(function(){
defaultType: 'textfield',
items: [{
fieldLabel: 'First Name',
+ emptyText: 'First Name',
name: 'first',
width:190
}, {
fieldLabel: 'Last Name',
+ emptyText: 'Last Name',
name: 'last',
width:190
}, {
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});
}
});