X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6e39d509471fe9b4e2660e0d1631b350d0c66f40..refs/heads/old:/examples/form/xml-form.js?ds=sidebyside diff --git a/examples/form/xml-form.js b/examples/form/xml-form.js index 1e3a6c7b..197fdadf 100644 --- a/examples/form/xml-form.js +++ b/examples/form/xml-form.js @@ -1,8 +1,8 @@ /*! - * Ext JS Library 3.1.0 - * 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}); } });