view app/view/orte/Create.js @ 154:16ba7e2465fd

Implemented creating and editing new l_ort. Created editing orte.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 02 Jul 2013 15:28:41 +0200
parents 26ac4c99f8c4
children 11f8a2c1b610
line wrap: on
line source
Ext.define('Lada.view.orte.Create', {
    extend: 'Ext.window.Window',
    alias: 'widget.ortecreate',

    title: 'Maske für Orte',
    autoShow: true,
    autoScroll: true,
    modal: true,

    requires: [
        'Lada.view.orte.CreateForm'
    ],
    initComponent: function() {
        var form = Ext.create('Lada.view.orte.CreateForm', this.initialConfig);
        this.items = [form];
        this.buttons = [
            {
                text: 'Speichern',
                scope: form,
                action: 'save'
            }
        ];
        this.callParent();
    }
});

http://lada.wald.intevation.org