view app/view/messungen/Create.js @ 192:d38b763806b0

Added action attribute to button. Needed for listener.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 08 Jul 2013 14:25:02 +0200
parents f1f0351b6e2f
children edb2b636319f
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() {
        var form = Ext.create('Lada.view.messungen.CreateForm', this.initialConfig);
        this.items = [form];
        this.buttons = [
            {
                text: 'Speichern',
                scope: form,
                action: 'save'
            }
        ];
        this.callParent();
    }
});

http://lada.wald.intevation.org