diff app/view/orte/Create.js @ 149:26ac4c99f8c4

Added Orte.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 01 Jul 2013 17:05:03 +0200
parents 2308094f5a8c
children 16ba7e2465fd
line wrap: on
line diff
--- a/app/view/orte/Create.js	Mon Jul 01 14:20:08 2013 +0200
+++ b/app/view/orte/Create.js	Mon Jul 01 17:05:03 2013 +0200
@@ -3,10 +3,6 @@
     alias: 'widget.ortecreate',
 
     title: 'Maske für Orte',
-    // Make size of the dialog dependend of the available space.
-    // TODO: Handle resizing the browser window.
-    width: Ext.getBody().getViewSize().width - 30,
-    height: Ext.getBody().getViewSize().height - 30,
     autoShow: true,
     autoScroll: true,
     modal: true,
@@ -20,8 +16,8 @@
         this.buttons = [
             {
                 text: 'Speichern',
-                handler: form.commit,
-                scope: form
+                scope: form,
+                action: 'save'
             }
         ];
         this.callParent();

http://lada.wald.intevation.org