comparison app/view/window/Messprogramm.js @ 1255:f3945506a4c5

Set default value in Messprogramm gueltigVon gueltigBis
author Evi Huber <ehuber@bfs.de>
date Fri, 18 Nov 2016 16:41:34 +0100
parents 3e6756b0fc97
children bfdc00c24baf
comparison
equal deleted inserted replaced
1254:6321530e640e 1255:f3945506a4c5
173 // Create a Create Window 173 // Create a Create Window
174 else { 174 else {
175 var record = Ext.create('Lada.model.Messprogramm'); 175 var record = Ext.create('Lada.model.Messprogramm');
176 this.down('messmethodengrid').setReadOnly(true); 176 this.down('messmethodengrid').setReadOnly(true);
177 this.down('messprogrammform').setRecord(record); 177 this.down('messprogrammform').setRecord(record);
178 this.down('dayofyear[name=gueltigBis]').setValue(365);
179 this.down('dayofyear[name=gueltigVon]').setValue(1);
178 } 180 }
179 this.down('messprogrammform').isValid(); 181 this.down('messprogrammform').isValid();
180 }, 182 },
181 183
182 //This was used in a Probewindow, I left it here for reference... 184 //This was used in a Probewindow, I left it here for reference...

http://lada.wald.intevation.org