changeset 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 6321530e640e
children f961f94495c8
files app/view/window/Messprogramm.js
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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