diff app/view/kommentare/Create.js @ 144:7b1140bd8b3d

Re-Added Kommentare
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 01 Jul 2013 10:15:00 +0200
parents 6273b73b4b27
children 89e331978e33
line wrap: on
line diff
--- a/app/view/kommentare/Create.js	Fri Jun 28 11:16:44 2013 +0200
+++ b/app/view/kommentare/Create.js	Mon Jul 01 10:15:00 2013 +0200
@@ -15,13 +15,13 @@
         'Lada.view.kommentare.CreateForm'
     ],
     initComponent: function() {
-        var form = Ext.create('Lada.view.kommentare.CreateForm');
+        var form = Ext.create('Lada.view.kommentare.CreateForm', this.initialConfig);
         this.items = [form];
         this.buttons = [
             {
                 text: 'Speichern',
-                handler: form.commit,
-                scope: form
+                scope: form,
+                action: 'save'
             }
         ];
         this.callParent();

http://lada.wald.intevation.org