diff 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
line wrap: on
line diff
--- a/app/view/window/Messprogramm.js	Fri Nov 18 13:27:00 2016 +0100
+++ b/app/view/window/Messprogramm.js	Fri Nov 18 16:41:34 2016 +0100
@@ -175,6 +175,8 @@
             var record = Ext.create('Lada.model.Messprogramm');
             this.down('messmethodengrid').setReadOnly(true);
             this.down('messprogrammform').setRecord(record);
+            this.down('dayofyear[name=gueltigBis]').setValue(365);
+            this.down('dayofyear[name=gueltigVon]').setValue(1);
         }
         this.down('messprogrammform').isValid();
     },

http://lada.wald.intevation.org