diff app/view/messungen/CreateForm.js @ 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 062aa9001eb6
children a9a7d8abc45e
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