view app/view/messungen/Create.js @ 373:9b663418b614

Added tag 0.3 for changeset eba7ba244968
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 16 Aug 2013 16:49:46 +0200
parents eccf58d3b106
children f9bb1ecf6462
line wrap: on
line source
/*
 * Window to create a Messung
 */
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