view app/view/zusatzwerte/Create.js @ 366:71ca7e597952

Syntax
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 16 Aug 2013 11:03:50 +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