comparison app/view/search/List.js @ 491:850ccfe5f3c4

Code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 23:23:32 +0100
parents a07cf685606c
children 7c0653e8d9f7
comparison
equal deleted inserted replaced
490:446e99cfd425 491:850ccfe5f3c4
14 title: 'SQL-Auswahl', 14 title: 'SQL-Auswahl',
15 alias: 'widget.queryselector', 15 alias: 'widget.queryselector',
16 require: ['Ext.layout.container.Column'], 16 require: ['Ext.layout.container.Column'],
17 initComponent: function() { 17 initComponent: function() {
18 this.layout = 'column', 18 this.layout = 'column',
19 this.items = [ 19 this.items = [{
20 { 20 id: 'search',
21 id: 'search', 21 xtype: 'combobox',
22 xtype: 'combobox', 22 editable: false,
23 editable: false, 23 store: 'Queries',
24 store: 'Queries', 24 displayField:'name',
25 displayField:'name', 25 valueField:'id',
26 valueField:'id', 26 emptyText:'Wählen Sie eine Abfrage'
27 emptyText:'Wählen Sie eine Abfrage' 27 }, {
28 }, 28 xtype: 'panel',
29 { 29 maxWidth: '500',
30 xtype: 'panel', 30 border: false,
31 maxWidth: '500', 31 margin: '0 10',
32 border: false, 32 items: [{
33 margin: '0 10', 33 id: 'sqldesc',
34 items: [ 34 xtype: 'displayfield',
35 { 35 fieldLabel: 'Beschreibung',
36 id: 'sqldesc', 36 value: '-/-'
37 xtype: 'displayfield', 37 }, {
38 fieldLabel: 'Beschreibung', 38 id: 'sqlquery',
39 value: '-/-' 39 xtype: 'displayfield',
40 }, 40 fieldLabel: 'Abfrage',
41 { 41 value: '-/-'
42 id: 'sqlquery', 42 }]
43 xtype: 'displayfield', 43 }];
44 fieldLabel: 'Abfrage',
45 value: '-/-'
46 }
47 ]
48 }
49 ];
50 this.callParent(arguments); 44 this.callParent(arguments);
51 } 45 }
52 }); 46 });

http://lada.wald.intevation.org