[Lada-commits] [PATCH 1 of 2] Backed out changeset b92aef19cff9
Wald Commits
scm-commit at wald.intevation.org
Mon Mar 20 15:21:16 CET 2017
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1490012482 -3600
# Node ID 0026b509a746950c44ff308622f47ed7be326c24
# Parent b92aef19cff9bbde72303e5012d5630e08677908
Backed out changeset b92aef19cff9.
This change completely prevents creating a new Messung.
diff -r b92aef19cff9 -r 0026b509a746 app/model/Messung.js
--- 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);
}
More information about the Lada-commits
mailing list