X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/examples/form/xml-form.js diff --git a/examples/form/xml-form.js b/examples/form/xml-form.js index 9b12bb92..197fdadf 100644 --- a/examples/form/xml-form.js +++ b/examples/form/xml-form.js @@ -1,8 +1,8 @@ /*! - * Ext JS Library 3.1.1 - * Copyright(c) 2006-2010 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}); } });