view app/view/proben/Import.js @ 381:9bc080ecdbc9

Added action in controller to download the file in a new window.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 27 Aug 2013 10:40:14 +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