view app/view/messungen/Create.js @ 314:65f8be677c8a

Added docstring
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 08:05:32 +0200
parents 11f8a2c1b610
children eccf58d3b106
line wrap: on
line source
Ext.define('Lada.view.messungen.Create', {
    extend: 'Ext.window.Window',
    alias: 'widget.messungencreate',

    title: 'Maske für Messungen',
    //width: Ext.getBody().getViewSize().width - 30,
    //height: Ext.getBody().getViewSize().height - 30,
    autoShow: true,
    autoScroll: true,
    modal: true,

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

http://lada.wald.intevation.org