comparison app/view/form/Probe.js @ 652:05e4ad93d021

Fixed field names.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 18 Mar 2015 14:46:28 +0100
parents 67963fcb7739
children 08e3e7b80a34
comparison
equal deleted inserted replaced
651:f4fef1d3a2ce 652:05e4ad93d021
334 this.down('cbox[name=test]').clearWarningOrError(); 334 this.down('cbox[name=test]').clearWarningOrError();
335 this.down('cbox[name=probenartId]').clearWarningOrError(); 335 this.down('cbox[name=probenartId]').clearWarningOrError();
336 this.down('cbox[name=netzbetreiberId]').clearWarningOrError(); 336 this.down('cbox[name=netzbetreiberId]').clearWarningOrError();
337 this.down('tfield[name=x11]').clearWarningOrError(); 337 this.down('tfield[name=x11]').clearWarningOrError();
338 this.down('cbox[name=umwId]').clearWarningOrError(); 338 this.down('cbox[name=umwId]').clearWarningOrError();
339 this.down('datef[name=probeentnahmeBeginn]').clearWarningOrError(); 339 this.down('datetime[name=probeentnahmeBeginn]').clearWarningOrError();
340 this.down('datef[name=probeentnahmeEnde]').clearWarningOrError(); 340 this.down('datetime[name=probeentnahmeEnde]').clearWarningOrError();
341 this.down('datef[name=solldatumBeginn]').clearWarningOrError(); 341 this.down('datetime[name=solldatumBeginn]').clearWarningOrError();
342 this.down('datef[name=solldatumEnde]').clearWarningOrError(); 342 this.down('datetime[name=solldatumEnde]').clearWarningOrError();
343 //this.down('cbox[name=probeNehmerId]').setReadOnly(value); 343 //this.down('cbox[name=probeNehmerId]').setReadOnly(value);
344 }, 344 },
345 345
346 setReadOnly: function(value) { 346 setReadOnly: function(value) {
347 this.down('cbox[name=mstId]').setReadOnly(value); 347 this.down('cbox[name=mstId]').setReadOnly(value);
353 this.down('cbox[name=netzbetreiberId]').setReadOnly(value); 353 this.down('cbox[name=netzbetreiberId]').setReadOnly(value);
354 this.down('tfield[name=x11]').setReadOnly(value); 354 this.down('tfield[name=x11]').setReadOnly(value);
355 this.down('textfield[name=media]').setReadOnly(value); 355 this.down('textfield[name=media]').setReadOnly(value);
356 this.down('textfield[name=mediaDesk]').setReadOnly(value); 356 this.down('textfield[name=mediaDesk]').setReadOnly(value);
357 this.down('cbox[name=umwId]').setReadOnly(value); 357 this.down('cbox[name=umwId]').setReadOnly(value);
358 this.down('datef[name=probeentnahmeBeginn]').setReadOnly(value); 358 this.down('datetime[name=probeentnahmeBeginn]').setReadOnly(value);
359 this.down('datef[name=probeentnahmeEnde]').setReadOnly(value); 359 this.down('datetime[name=probeentnahmeEnde]').setReadOnly(value);
360 this.down('datef[name=solldatumBeginn]').setReadOnly(value); 360 this.down('datetime[name=solldatumBeginn]').setReadOnly(value);
361 this.down('datef[name=solldatumEnde]').setReadOnly(value); 361 this.down('datetime[name=solldatumEnde]').setReadOnly(value);
362 //this.down('cbox[name=probeNehmerId]').setReadOnly(value); 362 //this.down('cbox[name=probeNehmerId]').setReadOnly(value);
363 }, 363 },
364 364
365 buildDescriptors: function() { 365 buildDescriptors: function() {
366 var fields = []; 366 var fields = [];

http://lada.wald.intevation.org