view app/view/orte/Create.js @ 191:46cc69277b8e

Removed unneeded code and set action attribute on button.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 08 Jul 2013 11:58:37 +0200
parents 16ba7e2465fd
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