changeset 584:8ed6c3fb8bda

Fixed indention and constructor call.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 11 Mar 2015 13:12:44 +0100
parents 54545b3ae294
children 4251601c6305
files app/model/Messung.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/app/model/Messung.js	Wed Mar 11 13:11:15 2015 +0100
+++ b/app/model/Messung.js	Wed Mar 11 13:12:44 2015 +0100
@@ -26,7 +26,7 @@
         name: 'messzeitpunkt',
         convert: function(v) {
             if (!v) {
-               return new Date();
+                return new Date();
             }
             return new Date(v);
         },
@@ -39,7 +39,7 @@
         type: 'date',
         convert: function(v) {
             if (!v) {
-                return new Date;
+                return new Date();
             }
             return new Date(v);
         },

http://lada.wald.intevation.org