changeset 200:945a727209d3

Fixed attribute names in the Status model
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 08 Jul 2013 16:15:24 +0200
parents 30ba9a98d627
children 7997272bbf4b
files app/model/Status.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/app/model/Status.js	Mon Jul 08 16:14:58 2013 +0200
+++ b/app/model/Status.js	Mon Jul 08 16:15:24 2013 +0200
@@ -5,9 +5,9 @@
         {name: "messungsId"},
         {name: "probeId"},
         {name: "erzeuger"},
-        {name: "status"},
+        {name: "status", defaultValue: 1},
         {name: "sdatum", type: 'date', convert: ts2date, defaultValue: new Date()},
-        {name: "stext"}
+        {name: "skommentar"}
     ],
     idProperty: "sId",
     proxy: {

http://lada.wald.intevation.org