view app/view/search/Variables.js @ 31:897e3100c6da

Changed logic of the Probenauswahl. Now logic works like the BFS version.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 21 May 2013 17:53:51 +0200
parents 4d60b9ebce15
children
line wrap: on
line source
Ext.define('Lada.view.search.Variables' ,{
        extend: 'Ext.panel.Panel',
        alias: 'widget.variables1',
        border: false,
    initComponent: function() {
        this.items = [
            {
                id: 'sqlVar1',
                xtype: 'queryselector',
                fieldLabel: 'Variables for SQL 1',
                labelWidth: 300
            }
        ];
        this.callParent(arguments);
    }
});

//Ext.define('Lada.view.search.Variables' ,{
//    extend: 'Ext.panel.Panel',
//    alias: 'widget.variables',
//    border: false,
//
//    initComponent: function() {
//        this.items = [
//            {
//                id: 'sqlVar1',
//                xtype: 'displayfield',
//                fieldLabel: 'Variables for SQL 1',
//                labelWidth: 300
//            },
//            {
//                id: 'sqlVar2',
//                xtype: 'displayfield',
//                fieldLabel: 'Variables for SQL 2',
//                labelWidth: 300
//            }
//        ];
//        this.callParent(arguments);
//    }
//});

http://lada.wald.intevation.org