comparison app/view/form/Probe.js @ 718:7f11b75e0188

Trailing Commas, editable: false for Umwelt und Messstelle widget
author Dustin Demuth <dustin@intevation.de>
date Wed, 15 Apr 2015 12:13:57 +0200
parents f124d24c8ade
children c2a6f7caa71b
comparison
equal deleted inserted replaced
717:f124d24c8ade 718:7f11b75e0188
106 xtype: 'datenbasis', 106 xtype: 'datenbasis',
107 editable: false, 107 editable: false,
108 name: 'datenbasisId', 108 name: 'datenbasisId',
109 fieldLabel: 'Datenbasis', 109 fieldLabel: 'Datenbasis',
110 anchor: '100%', 110 anchor: '100%',
111 labelWidth: 105, 111 labelWidth: 105
112 }, { 112 }, {
113 xtype: 'betriebsart', 113 xtype: 'betriebsart',
114 name: 'baId', 114 name: 'baId',
115 fieldLabel: 'Betriebsart', 115 fieldLabel: 'Betriebsart',
116 anchor: '100%', 116 anchor: '100%',
117 labelWidth: 105, 117 labelWidth: 105
118 }, { 118 }, {
119 xtype: 'testdatensatz', 119 xtype: 'testdatensatz',
120 name: 'test', 120 name: 'test',
121 fieldLabel: 'Testdatensatz', 121 fieldLabel: 'Testdatensatz',
122 anchor: '100%', 122 anchor: '100%',
123 labelWidth: 105, 123 labelWidth: 105,
124 allowBlank: false, 124 allowBlank: false
125 }, { 125 }, {
126 xtype: 'probenart', 126 xtype: 'probenart',
127 editable: false, 127 editable: false,
128 name: 'probenartId', 128 name: 'probenartId',
129 fieldLabel: 'Probenart', 129 fieldLabel: 'Probenart',
130 anchor: '100%', 130 anchor: '100%',
131 labelWidth: 105, 131 labelWidth: 105,
132 allowBlank: false, 132 allowBlank: false
133 }, { 133 }, {
134 xtype: 'numberfield', 134 xtype: 'numberfield',
135 allowDecimals: false, 135 allowDecimals: false,
136 name: 'probeNehmerId', 136 name: 'probeNehmerId',
137 fieldLabel: 'Probennehmer', 137 fieldLabel: 'Probennehmer',
138 anchor: '100%', 138 anchor: '100%',
139 labelWidth: 105, 139 labelWidth: 105
140 }, { 140 }, {
141 xtype: 'netzbetreiber', 141 xtype: 'netzbetreiber',
142 name: 'netzbetreiberId', 142 name: 'netzbetreiberId',
143 editable: false, 143 editable: false,
144 fieldLabel: 'Netzbetreiber', 144 fieldLabel: 'Netzbetreiber',
145 anchor: '100%', 145 anchor: '100%',
146 labelWidth: 105, 146 labelWidth: 105,
147 allowBlank: false, 147 allowBlank: false
148 }, { 148 }, {
149 xtype: 'tfield', 149 xtype: 'tfield',
150 name: 'x11', 150 name: 'x11',
151 fieldLabel: 'Datensatzerzeuger', 151 fieldLabel: 'Datensatzerzeuger',
152 anchor: '100%', 152 anchor: '100%',
153 labelWidth: 105, 153 labelWidth: 105
154 }] 154 }]
155 }] 155 }]
156 }] 156 }]
157 }, { 157 }, {
158 // Medium 158 // Medium
383 for (var i = 0; i < 12; i++) { 383 for (var i = 0; i < 12; i++) {
384 fields[i] = { 384 fields[i] = {
385 fieldLabel: 'S' + i, 385 fieldLabel: 'S' + i,
386 name: 's' + i, 386 name: 's' + i,
387 labelWidth: 25, 387 labelWidth: 25,
388 margin: '0, 10, 5, 0', 388 margin: '0, 10, 5, 0'
389 }; 389 };
390 } 390 }
391 return fields; 391 return fields;
392 } 392 }
393 }); 393 });

http://lada.wald.intevation.org