diff app/view/messungen/Create.js @ 172:cfa0cc437781

Implemented opening a new Messungen form when clicking and the "Add Button" on the Messungen listing.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 03 Jul 2013 16:34:32 +0200
parents 6c69bbb61c65
children 5878159209df
line wrap: on
line diff
--- a/app/view/messungen/Create.js	Wed Jul 03 16:13:36 2013 +0200
+++ b/app/view/messungen/Create.js	Wed Jul 03 16:34:32 2013 +0200
@@ -15,12 +15,11 @@
         'Lada.view.messungen.CreateForm'
     ],
     initComponent: function() {
-        var form = Ext.create('Lada.view.messungen.CreateForm');
+        var form = Ext.create('Lada.view.messungen.CreateForm', this.initialConfig);
         this.items = [form];
         this.buttons = [
             {
                 text: 'Speichern',
-                handler: form.commit,
                 scope: form
             }
         ];

http://lada.wald.intevation.org