X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..530ef4b6c5b943cfa68b779d11cf7de29aa878bf:/examples/form/xml-form.js diff --git a/examples/form/xml-form.js b/examples/form/xml-form.js index 8a7d8f5f..090f1627 100644 --- a/examples/form/xml-form.js +++ b/examples/form/xml-form.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.0.3 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.2.1 + * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ @@ -40,10 +40,12 @@ 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 }, { @@ -95,7 +97,7 @@ Ext.onReady(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}); } });