X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/examples/form/xml-form.js diff --git a/examples/form/xml-form.js b/examples/form/xml-form.js index 8a7d8f5f..197fdadf 100644 --- a/examples/form/xml-form.js +++ b/examples/form/xml-form.js @@ -1,8 +1,8 @@ /*! - * 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(){ @@ -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}); } });