[Lada-commits] [PATCH] Set default value in Messprogramm gueltigVon gueltigBis

Wald Commits scm-commit at wald.intevation.org
Fri Nov 18 16:41:41 CET 2016


# HG changeset patch
# User Evi Huber <ehuber at bfs.de>
# Date 1479483694 -3600
# Node ID f3945506a4c5b468d8d0fd22c9f673ebc4a1c530
# Parent  6321530e640ecc1138562ee462065761d74e3679
Set default value in Messprogramm gueltigVon gueltigBis

diff -r 6321530e640e -r f3945506a4c5 app/view/window/Messprogramm.js
--- 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();
     },


More information about the Lada-commits mailing list