diff app/view/orte/CreateOrt.js @ 491:850ccfe5f3c4

Code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 23:23:32 +0100
parents debfcc7713e3
children 7c0653e8d9f7
line wrap: on
line diff
--- a/app/view/orte/CreateOrt.js	Fri Oct 31 21:28:31 2014 +0100
+++ b/app/view/orte/CreateOrt.js	Fri Oct 31 23:23:32 2014 +0100
@@ -27,13 +27,11 @@
                 maxLength: 100,
                 name: 'ort_beschreibung',
                 fieldLabel: 'Beschreibung'
-            },
-            {
+            }, {
                 xtype: 'staat',
                 name: 'ort_staatId',
                 fieldLabel: 'Staat'
-            },
-            {
+            }, {
                 xtype: 'verwaltungseinheiten',
                 name: 'ort_gemId',
                 fieldLabel: 'Gemeinde',
@@ -50,18 +48,15 @@
                         }
                     }
                 }
-            },
-            {
+            }, {
                 xtype: 'numberfield',
                 name: 'ort_latitude',
                 fieldLabel: 'Lat'
-            },
-            {
+            }, {
                 xtype: 'numberfield',
                 name: 'ort_longitude',
                 fieldLabel: 'Lon'
-            },
-            {
+            }, {
                 xtype: 'numberfield',
                 name: 'ort_hoeheLand',
                 fieldLabel: 'Höhe'
@@ -69,18 +64,15 @@
         });
 
         me.items = [form];
-        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.callParent(arguments);
     }
 });

http://lada.wald.intevation.org