comparison app/view/form/Probe.js @ 1412:dc90e2997071

Merged branch release-2.5 into default.
author Tom Gottfried <tom@intevation.de>
date Mon, 27 Mar 2017 16:50:00 +0200
parents 7e9a6f0e55b3 418b9afee700
children ee21d0e1b998
comparison
equal deleted inserted replaced
1409:50b04a7bee16 1412:dc90e2997071
110 fn: function(combo, newValue) { 110 fn: function(combo, newValue) {
111 var mst = newValue[0].get('messStelle'); 111 var mst = newValue[0].get('messStelle');
112 var labor = newValue[0].get('laborMst'); 112 var labor = newValue[0].get('laborMst');
113 combo.up('fieldset').down('messstelle[name=mstId]').setValue(mst); 113 combo.up('fieldset').down('messstelle[name=mstId]').setValue(mst);
114 combo.up('fieldset').down('messstelle[name=laborMstId]').setValue(labor); 114 combo.up('fieldset').down('messstelle[name=laborMstId]').setValue(labor);
115 combo.up('fieldset').down('messprogrammland[name=mplId]').setValue();
115 } 116 }
116 } 117 }
117 } 118 }
118 }, { 119 }, {
119 xtype: 'messstelle', 120 xtype: 'messstelle',
135 allowBlank: false, 136 allowBlank: false,
136 editable: true, 137 editable: true,
137 hidden: true 138 hidden: true
138 }, { 139 }, {
139 xtype: 'netzbetreiber', 140 xtype: 'netzbetreiber',
141 name: 'netzbetreiber',
140 editable: false, 142 editable: false,
141 readOnly: true, 143 readOnly: true,
142 isFormField: false, 144 isFormField: false,
143 submitValue: false, 145 submitValue: false,
144 fieldLabel: i18n.getMsg('netzbetreiberId'), 146 fieldLabel: i18n.getMsg('netzbetreiberId'),
225 name: 'mplId', 227 name: 'mplId',
226 fieldLabel: 'Messprogramm-Land', 228 fieldLabel: 'Messprogramm-Land',
227 margin: '0, 5, 5, 5', 229 margin: '0, 5, 5, 5',
228 width: '100%', 230 width: '100%',
229 anchor: '100%', 231 anchor: '100%',
230 labelWidth: 110 232 labelWidth: 110,
233 listeners: {
234 expand : {
235 fn: function(combo) {
236 Ext.StoreManager.get('messprogrammkategorie').clearFilter();
237 Ext.StoreManager.get('messprogrammkategorie').filter('netzbetreiberId', combo.up('fieldset').down('netzbetreiber[name=netzbetreiber]').getValue());
238 }
239 }
240 }
231 }] 241 }]
232 }, { 242 }, {
233 // Zeit 243 // Zeit
234 xtype: 'fieldset', 244 xtype: 'fieldset',
235 title: 'Zeit', 245 title: 'Zeit',

http://lada.wald.intevation.org