diff app/view/messungen/List.js @ 172:cfa0cc437781

Implemented opening a new Messungen form when clicking and the "Add Button" on the Messungen listing.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 03 Jul 2013 16:34:32 +0200
parents c5422819d7b9
children eccf58d3b106
line wrap: on
line diff
--- a/app/view/messungen/List.js	Wed Jul 03 16:13:36 2013 +0200
+++ b/app/view/messungen/List.js	Wed Jul 03 16:34:32 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