changeset 196:2cf26580d75d

Set messungsId to the add buttons in the lists on edit page for messungen.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 08 Jul 2013 16:10:10 +0200
parents 01021f00ce6a
children 748614e867b1
files app/view/messungen/CreateForm.js
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/messungen/CreateForm.js	Mon Jul 08 16:09:19 2013 +0200
+++ b/app/view/messungen/CreateForm.js	Mon Jul 08 16:10:10 2013 +0200
@@ -50,7 +50,8 @@
                 items: [
                     {
                         xtype: 'messwertelist',
-                        parentId: this.modelId
+                        parentId: this.model.get('messungsId'),
+                        probeId: this.model.get('probeId')
                     }
                 ]
             },
@@ -64,7 +65,8 @@
                 items: [
                     {
                         xtype: 'statuslist',
-                        parentId: this.modelId
+                        parentId: this.model.get('messungsId'),
+                        probeId: this.model.get('probeId')
                     }
                 ]
             },
@@ -78,7 +80,8 @@
                 items: [
                     {
                         xtype: 'mkommentarelist',
-                        parentId: this.modelId
+                        parentId: this.model.get('messungsId'),
+                        probeId: this.model.get('probeId')
                     }
                 ]
             }

http://lada.wald.intevation.org