[Lada-commits] [PATCH 11 of 13] Fixed attribute names in the Status model

Wald Commits scm-commit at wald.intevation.org
Mon Jul 8 16:17:49 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1373292924 -7200
# Node ID 945a727209d37802168ac4bf92f382e4e7d839b3
# Parent  30ba9a98d6271a267391977d6bb86d74d567e3e6
Fixed attribute names in the Status model

diff -r 30ba9a98d627 -r 945a727209d3 app/model/Status.js
--- 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: {


More information about the Lada-commits mailing list