view app/view/zusatzwerte/Create.js @ 142:dee9da79f055

Added function to model with return the beschreibung of the messeinheit of a given Probenzusatzwert by pzsId.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 28 Jun 2013 11:15:39 +0200
parents a7bfaeb1655d
children 7b1140bd8b3d
line wrap: on
line source
Ext.define('Lada.view.zusatzwerte.Create', {
    extend: 'Ext.window.Window',
    alias: 'widget.zusatzwertecreate',

    title: 'Maske für Zusatzwerte',
    // Make size of the dialog dependend of the available space.
    // TODO: Handle resizing the browser window.
    width: Ext.getBody().getViewSize().width - 30,
    height: Ext.getBody().getViewSize().height - 30,
    autoShow: true,
    autoScroll: true,
    modal: true,

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

http://lada.wald.intevation.org