diff app/view/proben/CreateForm.js @ 78:a8619efdf3ae

Removed ID field from create form as providing a value here seems to trigger a PUT instead of a POST request. The ID will be generated on serverside.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 11 Jun 2013 08:57:44 +0200
parents 7ea76e760fc2
children 9eeddf6e40f7
line wrap: on
line diff
--- a/app/view/proben/CreateForm.js	Tue Jun 11 08:06:24 2013 +0200
+++ b/app/view/proben/CreateForm.js	Tue Jun 11 08:57:44 2013 +0200
@@ -21,11 +21,11 @@
                         name: 'hauptprobenNr',
                         fieldLabel: 'Hauptprobennr.'
                     },
-                    {
-                        xtype: 'textfield',
-                        name: 'probeId',
-                        fieldLabel: 'Probe-ID'
-                    },
+                    //{
+                    //    xtype: 'textfield',
+                    //    name: 'probeId',
+                    //    fieldLabel: 'Probe-ID'
+                    //},
                     {
                         xtype: 'fieldset',
                         title: 'Erweiterte Probenangaben',

http://lada.wald.intevation.org