X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/examples/form/vbox-form.js?ds=sidebyside diff --git a/examples/form/vbox-form.js b/examples/form/vbox-form.js index 8fe6c0ec..db7e0527 100644 --- a/examples/form/vbox-form.js +++ b/examples/form/vbox-form.js @@ -1,11 +1,9 @@ /*! - * Ext JS Library 3.0.3 + * Ext JS Library 3.1.0 * Copyright(c) 2006-2009 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ -Ext.Container.prototype.bufferResize = false; - Ext.onReady(function() { var form = new Ext.form.FormPanel({ baseCls: 'x-plain', @@ -20,6 +18,8 @@ Ext.onReady(function() { }, items: [{ + xtype: 'combo', + store: ['test@example.com', 'someone-else@example.com' ], plugins: [ Ext.ux.FieldReplicator, Ext.ux.FieldLabeler ], fieldLabel: 'Send To', name: 'to' @@ -36,7 +36,7 @@ Ext.onReady(function() { }] }); - var window = new Ext.Window({ + var w = new Ext.Window({ title: 'Compose message', collapsible: true, maximizable: true, @@ -55,5 +55,5 @@ Ext.onReady(function() { text: 'Cancel' }] }); - window.show(); + w.show(); }); \ No newline at end of file