Mercurial > lada > lada-client
changeset 159:f653bd7893c0
Fixed model. Added mapping.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 03 Jul 2013 13:36:07 +0200 |
parents | 8e7f890dd6f4 |
children | c932b0b41d2a |
files | app/model/Messung.js |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/app/model/Messung.js Wed Jul 03 13:35:50 2013 +0200 +++ b/app/model/Messung.js Wed Jul 03 13:36:07 2013 +0200 @@ -1,7 +1,8 @@ Ext.define('Lada.model.Messung', { extend: 'Ext.data.Model', fields: [ - {name: "probeId"}, + {name: "messungsId", mapping:"id.messungsId"}, + {name: "probeId", mapping:"id.probeId"}, {name: "mmtId"}, {name: "nebenprobenNr"}, {name: "messdauer"},