diff app/view/zusatzwerte/List.js @ 125:324b11db4323

Store probeId as attribute of the "add" button in the zusatzwerte list.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 25 Jun 2013 11:06:43 +0200
parents d78bb4ca6089
children 4dc84682110d
line wrap: on
line diff
--- a/app/view/zusatzwerte/List.js	Tue Jun 25 09:35:40 2013 +0200
+++ b/app/view/zusatzwerte/List.js	Tue Jun 25 11:06:43 2013 +0200
@@ -10,6 +10,7 @@
         minHeight: 35,
         deferEmptyText: false
     },
+    probeId: null,
     initComponent: function() {
         this.dockedItems = [
             {
@@ -19,7 +20,8 @@
                     {
                         text: 'Hinzufügen',
                         icon: 'gfx/plus.gif',
-                        action: 'add'
+                        action: 'add',
+                        probeId: this.probeId
                     },
                     {
                         text: 'Löschen',

http://lada.wald.intevation.org