3 * Copyright(c) 2006-2009 Ext JS, LLC
5 * http://www.extjs.com/license
7 Ext.Container.prototype.bufferResize = false;
\r
9 Ext.onReady(function() {
\r
10 var form = new Ext.form.FormPanel({
\r
13 url: 'save-form.php',
\r
16 align: 'stretch' // Child items are stretched to full width
\r
23 plugins: [ Ext.ux.FieldReplicator, Ext.ux.FieldLabeler ],
\r
24 fieldLabel: 'Send To',
\r
27 plugins: [ Ext.ux.FieldLabeler ],
\r
28 fieldLabel: 'Subject',
\r
32 fieldLabel: 'Message text',
\r
35 flex: 1 // Take up all *remaining* vertical space
\r
39 var window = new Ext.Window({
\r
40 title: 'Compose message',
\r
49 bodyStyle: 'padding:5px;',
\r
50 buttonAlign: 'center',
\r