view app/view/kommentare/Create.js @ 236:5a9c6b71bad2

Use new queries store in search selection.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 23 Jul 2013 09:53:07 +0200
parents 89e331978e33
children 11f8a2c1b610
line wrap: on
line source
Ext.define('Lada.view.kommentare.Create', {
    extend: 'Ext.window.Window',
    alias: 'widget.kommentarecreate',

    title: 'Maske für Kommentare',
    // Make size of the dialog dependend of the available space.
    // TODO: Handle resizing the browser window.
    autoShow: true,
    autoScroll: true,
    modal: true,

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

http://lada.wald.intevation.org