view app/view/proben/Import.js @ 362:6a7a9267e00f

Issue56: Changed way how to set the form and window to readonly. Now all dialogs should habe proper readonly settings. Now the Save and Cancel button are displayed as needed.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 15 Aug 2013 14:07:35 +0200
parents 94884cd8f8c0
children f9bb1ecf6462
line wrap: on
line source
/*
 * Window to import a Probe
 */
Ext.define('Lada.view.proben.Import', {
    extend: 'Ext.window.Window',
    alias: 'widget.probenimport',

    title: 'Maske für §3-Proben Import',
    autoShow: true,
    autoScroll: true,
    modal: true,
    initComponent: function() {
        this.buttons = [
            {
                text: 'Speichern',
                action: 'save',
            },
            {
                text: 'Abbrechen',
                scope: this,
                handler: this.close,
            }
        ];
        var form = Ext.create('Lada.view.proben.ImportForm');
        this.items = [form];
        this.callParent();
    }
});

http://lada.wald.intevation.org