diff app/model/Messung.js @ 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 5eb0cfac0e30
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"},

http://lada.wald.intevation.org