changeset 1403:0026b509a746

Backed out changeset b92aef19cff9. This change completely prevents creating a new Messung.
author Tom Gottfried <tom@intevation.de>
date Mon, 20 Mar 2017 13:21:22 +0100
parents b92aef19cff9
children 24af0514618e
files app/model/Messung.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/model/Messung.js	Thu Mar 16 14:44:04 2017 +0100
+++ b/app/model/Messung.js	Mon Mar 20 13:21:22 2017 +0100
@@ -37,7 +37,7 @@
         name: 'messzeitpunkt',
         convert: function(v) {
             if (!v) {
-                return '';
+                return new Date();
             }
             return new Date(v);
         }

http://lada.wald.intevation.org