changeset 88:8594cd215732

Fixed naming of fields.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 11 Jun 2013 13:21:04 +0200
parents ee1d1305dcff
children 549929d0b72e
files app/view/proben/EditForm.js
diffstat 1 files changed, 8 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/proben/EditForm.js	Tue Jun 11 13:20:27 2013 +0200
+++ b/app/view/proben/EditForm.js	Tue Jun 11 13:21:04 2013 +0200
@@ -49,18 +49,16 @@
                                 name: 'test',
                                 fieldLabel: 'Testdatensatz'
                             },
-                            // TODO: Fix Probenart, Is sent as list which
-                            // causes an error on server side.
-                            //{
-                            //    xtype: 'probenart',
-                            //    id: 'probenart',
-                            //    editable: false,
-                            //    name: 'probenartId',
-                            //    fieldLabel: 'Probenart'
-                            //},
+                            {
+                                xtype: 'probenart',
+                                id: 'probenart',
+                                editable: false,
+                                name: 'probenartId',
+                                fieldLabel: 'Probenart'
+                            },
                             {
                                 xtype: 'textfield',
-                                name: 'probenartId',
+                                name: 'probeNehmerId',
                                 fieldLabel: 'Probennehmer'
                             },
                             {

http://lada.wald.intevation.org