view app/view/kommentare/CreateForm.js @ 203:8970cbad6cae

Fixed building the id of MKommentar
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 08 Jul 2013 16:45:14 +0200
parents 7b1140bd8b3d
children 6527b1598196
line wrap: on
line source
Ext.define('Lada.view.kommentare.CreateForm', {
    extend: 'Lada.view.widgets.LadaForm',
    model: 'Lada.model.Kommentar',
    initComponent: function() {
        this.items = [
            {
                xtype: 'textfield',
                name: 'erzeuger',
                fieldLabel: 'Erzeuger'
            },
            {
                xtype: 'datefield',
                name: 'kdatum',
                fieldLabel: 'Datum'
            },
            {
                xtype: 'textareafield',
                name: 'ktext',
                fieldLabel: 'Text'
            }
        ];
        this.callParent();
    }
});

http://lada.wald.intevation.org