diff app/view/messungen/Edit.js @ 491:850ccfe5f3c4

Code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 23:23:32 +0100
parents d00cc841a876
children 7c0653e8d9f7
line wrap: on
line diff
--- a/app/view/messungen/Edit.js	Fri Oct 31 21:28:31 2014 +0100
+++ b/app/view/messungen/Edit.js	Fri Oct 31 23:23:32 2014 +0100
@@ -12,31 +12,29 @@
 Ext.define('Lada.view.messungen.Edit', {
     extend: 'Ext.window.Window',
     alias: 'widget.messungenedit',
+    requires: [
+        'Lada.view.messungen.EditForm'
+    ],
 
     title: 'Maske für Messungen',
     autoShow: true,
     autoScroll: true,
     modal: true,
 
-    requires: [
-        'Lada.view.messungen.EditForm'
-    ],
     initComponent: function() {
-        this.buttons = [
-            {
-                text: 'Speichern',
-                scope: form,
-                action: 'save'
-            },
-            {
-                text: 'Abbrechen',
-                scope: this,
-                handler: this.close
-            }
-        ];
+        this.buttons = [{
+            text: 'Speichern',
+            scope: form,
+            action: 'save'
+        }, {
+            text: 'Abbrechen',
+            scope: this,
+            handler: this.close
+        }];
         this.width = Ext.getBody().getViewSize().width - 30;
         this.height = Ext.getBody().getViewSize().height - 30;
-        var form = Ext.create('Lada.view.messungen.EditForm', this.initialConfig);
+        var form = Ext.create('Lada.view.messungen.EditForm',
+            this.initialConfig);
         this.items = [form];
         this.callParent();
     }

http://lada.wald.intevation.org