[Lada-commits] [PATCH 3 of 7] Set parentId to messwert for add button

Wald Commits scm-commit at wald.intevation.org
Fri Jul 12 15:59:11 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1373622577 -7200
# Node ID f3a2f985f451ea03595e099ea23caa76994fcf01
# Parent  a9a7d8abc45ef415225d194f6a43b2cfb4e1e851
Set parentId to messwert for add button

diff -r a9a7d8abc45e -r f3a2f985f451 app/view/messwerte/List.js
--- 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',


More information about the Lada-commits mailing list