view app/view/messwerte/Create.js @ 442:bba7fbcf2f70

Simplified logic in Messwert listing. No extra logic anymore to check if a "<" char is displayed in front of the measured value. Simply dislplay the value and value form messwertNwg.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 03 Dec 2013 11:23:15 +0100
parents f9bb1ecf6462
children debfcc7713e3
line wrap: on
line source
/*
 * Window to create and edit a Messwert
 */
Ext.define('Lada.view.messwerte.Create', {
    extend: 'Ext.window.Window',
    alias: 'widget.messwertecreate',

    title: 'Maske für Messwerte',
    autoShow: true,
    autoScroll: true,
    modal: true,

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

http://lada.wald.intevation.org