view app/view/messungen/Create.js @ 147:5da0b56bf9bf

Do no hide the earch buttons and the resultlist on reset.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 01 Jul 2013 14:19:47 +0200
parents 6c69bbb61c65
children cfa0cc437781
line wrap: on
line source
Ext.define('Lada.view.messungen.Create', {
    extend: 'Ext.window.Window',
    alias: 'widget.messungencreate',

    title: 'Maske für Messungen',
    // 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,

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

http://lada.wald.intevation.org