diff app/model/Zusatzwert.js @ 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 d78bb4ca6089
children 968806c1a3cb
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