view app/view/mkommentare/CreateForm.js @ 276:dee3e54a61b1

Use datetimepicker for all datefields
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 07 Aug 2013 12:02:50 +0200
parents f005f43007b5
children d6d74718a102
line wrap: on
line source
Ext.define('Lada.view.mkommentare.CreateForm', {
    extend: 'Lada.view.widgets.LadaForm',
    model: 'Lada.model.MKommentar',
    initComponent: function() {
        this.items = [
            {
                xtype: 'mst',
                name: 'erzeuger',
                maxLength: 5,
                fieldLabel: 'Erzeuger'
            },
            {
                xtype: 'datetime',
                name: 'kdatum',
                fieldLabel: 'Datum'
            },
            {
                xtype: 'textareafield',
                name: 'ktext',
                fieldLabel: 'Text'
            }
        ];
        this.callParent();
    }
});

http://lada.wald.intevation.org