diff app/view/proben/EditForm.js @ 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
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