changeset 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 c846a2e37289
children 9eeddf6e40f7
files app/view/proben/CreateForm.js
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
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