[Lada-commits] [PATCH 07 of 13] Set messungsId to the add buttons in the lists on edit page for messungen

Wald Commits scm-commit at wald.intevation.org
Mon Jul 8 16:17:45 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1373292610 -7200
# Node ID 2cf26580d75d33828a11b6ac1619833e1c66a46a
# Parent  01021f00ce6a7712ff8b6097ea8cc17dcbd0eaec
Set messungsId to the add buttons in the lists on edit page for messungen.

diff -r 01021f00ce6a -r 2cf26580d75d app/view/messungen/CreateForm.js
--- 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')
                     }
                 ]
             }


More information about the Lada-commits mailing list