view app/view/messwerte/Create.js @ 457:e7fea42c1432

Autoload Verwaltungseinheiten. We need the store already load on orte listing.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 18 Dec 2013 11:45:53 +0100
parents f9bb1ecf6462
children debfcc7713e3
line wrap: on
line source
/*
 * Window to create and edit a Messwert
 */
Ext.define('Lada.view.messwerte.Create', {
    extend: 'Ext.window.Window',
    alias: 'widget.messwertecreate',

    title: 'Maske für Messwerte',
    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.messwerte.CreateForm', this.initialConfig);
        this.items = [form];
        this.callParent();
    }
});

http://lada.wald.intevation.org