diff app/view/zusatzwerte/Create.js @ 122:a7bfaeb1655d

Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 21 Jun 2013 16:56:17 +0200
parents 189a93e31be9
children 7b1140bd8b3d
line wrap: on
line diff
--- a/app/view/zusatzwerte/Create.js	Fri Jun 21 16:55:23 2013 +0200
+++ b/app/view/zusatzwerte/Create.js	Fri Jun 21 16:56:17 2013 +0200
@@ -11,19 +11,15 @@
     autoScroll: true,
     modal: true,
 
-    requires: [
-        'Lada.view.zusatzwerte.CreateForm',
-        'Lada.view.widgets.Zusatzwert',
-        'Lada.view.widgets.Messeinheit'
-    ],
     initComponent: function() {
         var form = Ext.create('Lada.view.zusatzwerte.CreateForm', this.initialConfig);
         this.items = [form];
         this.buttons = [
             {
                 text: 'Speichern',
-                handler: form.commit,
-                scope: form
+                //handler: form.commit,
+                scope: form,
+                action: 'save'
             }
         ];
         this.callParent();

http://lada.wald.intevation.org