view app/view/zusatzwerte/Create.js @ 383:fe8d6e1b08ff

Added toolbar to the mainwindow.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 29 Aug 2013 14:14:27 +0200
parents 8cb393ffe844
children f9bb1ecf6462
line wrap: on
line source
/*
 * Window to create and edit a Probenzusatzwert
 */
Ext.define('Lada.view.zusatzwerte.Create', {
    extend: 'Ext.window.Window',
    alias: 'widget.zusatzwertecreate',

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

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

http://lada.wald.intevation.org