comparison app/view/search/List.js @ 497:7c0653e8d9f7

Fixed some js related issues (unused vars, arrays, etc.) and code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 06 Nov 2014 10:38:17 +0100
parents 850ccfe5f3c4
children c1b77fb96b01
comparison
equal deleted inserted replaced
496:d07e5086a64b 497:7c0653e8d9f7
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz 1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
2 * Software engineering by Intevation GmbH 2 * Software engineering by Intevation GmbH
3 * 3 *
4 * This file is Free Software under the GNU GPL (v>=3) 4 * This file is Free Software under the GNU GPL (v>=3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out 5 * and comes with ABSOLUTELY NO WARRANTY! Check out
6 * the documentation coming with IMIS-Labordaten-Application for details. 6 * the documentation coming with IMIS-Labordaten-Application for details.
7 */ 7 */
8 8
9 /* 9 /*
10 * Grid to list available search queryies 10 * Grid to list available search queryies
11 */ 11 */
12 Ext.define('Lada.view.search.List' ,{ 12 Ext.define('Lada.view.search.List', {
13 extend: 'Ext.form.FieldSet', 13 extend: 'Ext.form.FieldSet',
14 title: 'SQL-Auswahl',
15 alias: 'widget.queryselector', 14 alias: 'widget.queryselector',
16 require: ['Ext.layout.container.Column'], 15 require: ['Ext.layout.container.Column'],
16 title: 'SQL-Auswahl',
17 initComponent: function() { 17 initComponent: function() {
18 this.layout = 'column', 18 this.layout = 'column';
19 this.items = [{ 19 this.items = [{
20 id: 'search', 20 id: 'search',
21 xtype: 'combobox', 21 xtype: 'combobox',
22 editable: false, 22 editable: false,
23 store: 'Queries', 23 store: 'Queries',
24 displayField:'name', 24 displayField: 'name',
25 valueField:'id', 25 valueField: 'id',
26 emptyText:'Wählen Sie eine Abfrage' 26 emptyText: 'Wählen Sie eine Abfrage'
27 }, { 27 }, {
28 xtype: 'panel', 28 xtype: 'panel',
29 maxWidth: '500', 29 maxWidth: '500',
30 border: false, 30 border: false,
31 margin: '0 10', 31 margin: '0 10',

http://lada.wald.intevation.org