Mercurial > lada > lada-client
diff app/model/Zusatzwert.js @ 137:a7eea094d3d6
Removed id property from Zusatzwerte model. Do not set Probenzusatz when
saving the Zusatzwert.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 26 Jun 2013 10:23:55 +0200 |
parents | 4dc84682110d |
children | 4287f29b5b81 |
line wrap: on
line diff
--- a/app/model/Zusatzwert.js Wed Jun 26 10:18:08 2013 +0200 +++ b/app/model/Zusatzwert.js Wed Jun 26 10:23:55 2013 +0200 @@ -1,7 +1,6 @@ Ext.define('Lada.model.Zusatzwert', { extend: 'Ext.data.Model', fields: [ - {name: "id"}, {name: "pzsId", mapping: "id.pzsId"}, {name: "probeId", mapping: "id.probeId"}, {name: "nwgZuMesswert", type: 'float'}, @@ -9,7 +8,7 @@ {name: "messfehler", type: 'float'}, {name: "letzteAenderung", type: 'date', convert: ts2date, defaultValue: new Date()} ], - idProperty: "id", + idProperty: "pzsId", proxy: { type: 'rest', appendId: true, //default