changeset 127:f5864914ebb3

Commented out pzsId in Zusatzwert model.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 25 Jun 2013 11:26:21 +0200
parents 3d8cbc2d0dc1
children 9b14742a8117
files app/model/Zusatzwert.js
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/model/Zusatzwert.js	Tue Jun 25 11:07:31 2013 +0200
+++ b/app/model/Zusatzwert.js	Tue Jun 25 11:26:21 2013 +0200
@@ -5,7 +5,9 @@
     ],
     fields: [
         {name: "id"},
-        {name: "pzsId", mapping: "id.pzsId"},
+        // Commented out as pzsId must not be submitted to the server. On
+        // serverside the pzsId is taken from the nested sprobenZusatz object.
+        //{name: "pzsId", mapping: "id.pzsId"},
         {name: "probeId", mapping: "id.probeId"},
         {name: "nwgZuMesswert", type: 'float'},
         {name: "messwertPzs", type: 'float'},

http://lada.wald.intevation.org