changeset 210:f3a2f985f451

Set parentId to messwert for add button
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 12 Jul 2013 11:49:37 +0200
parents a9a7d8abc45e
children 401d559e0461
files app/view/messwerte/List.js
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/messwerte/List.js	Fri Jul 12 10:57:26 2013 +0200
+++ b/app/view/messwerte/List.js	Fri Jul 12 11:49:37 2013 +0200
@@ -11,6 +11,7 @@
         deferEmptyText: false
     },
     probeId: null,
+    parentId: null,
     initComponent: function() {
         this.dockedItems = [
             {
@@ -21,7 +22,8 @@
                         text: 'Hinzufügen',
                         icon: 'gfx/plus.gif',
                         action: 'add',
-                        probeId: this.probeId
+                        probeId: this.probeId,
+                        parentId: this.parentId
                     },
                     {
                         text: 'Löschen',

http://lada.wald.intevation.org