diff app/view/messwerte/List.js @ 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 ceb04286152a
children c3c64920b740
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