diff app/view/proben/CreateForm.js @ 79:9eeddf6e40f7

Fixed fieldnaming.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 11 Jun 2013 09:57:45 +0200
parents a8619efdf3ae
children 9dda938db216
line wrap: on
line diff
--- a/app/view/proben/CreateForm.js	Tue Jun 11 08:57:44 2013 +0200
+++ b/app/view/proben/CreateForm.js	Tue Jun 11 09:57:45 2013 +0200
@@ -49,18 +49,17 @@
                                 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',
+                                allowBlank: false
+                            },
                             {
                                 xtype: 'textfield',
-                                name: 'probenartId',
+                                name: 'probeNehmerId',
                                 fieldLabel: 'Probennehmer'
                             },
                             {

http://lada.wald.intevation.org