view app/view/status/Create.js @ 491:850ccfe5f3c4

Code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 23:23:32 +0100
parents debfcc7713e3
children 7c0653e8d9f7
line wrap: on
line source
/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU GPL (v>=3)
 * and comes with ABSOLUTELY NO WARRANTY! Check out
 * the documentation coming with IMIS-Labordaten-Application for details. 
 */

/*
 * Window to create and edit a Status
 */
Ext.define('Lada.view.status.Create', {
    extend: 'Ext.window.Window',
    alias: 'widget.statuscreate',

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

http://lada.wald.intevation.org