diff app/view/kommentare/List.js @ 491:850ccfe5f3c4

Code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 23:23:32 +0100
parents 446e99cfd425
children 7c0653e8d9f7
line wrap: on
line diff
--- a/app/view/kommentare/List.js	Fri Oct 31 21:28:31 2014 +0100
+++ b/app/view/kommentare/List.js	Fri Oct 31 23:23:32 2014 +0100
@@ -12,6 +12,7 @@
 Ext.define('Lada.view.kommentare.List' ,{
     extend: 'Ext.grid.Panel',
     alias: 'widget.kommentarelist',
+
     store: 'KommentareP',
     viewConfig: {
         maxHeight: 350,
@@ -22,31 +23,33 @@
         deferEmptyText: false
     },
     probeId: null,
+
     initComponent: function() {
-        this.dockedItems = [
-            {
-                xtype: 'toolbar',
-                dock: 'top',
-                items: [
-                    {
-                        text: 'Hinzufügen',
-                        icon: 'gfx/list-add.png',
-                        action: 'add',
-                        probeId: this.probeId
-                    },
-                    {
-                        text: 'Löschen',
-                        icon: 'gfx/list-remove.png',
-                        action: 'delete'
-                    }
-                ]
-            }
-        ];
-        this.columns = [
-            {header: 'Erzeuger', dataIndex: 'erzeuger'},
-            {header: 'Datum', dataIndex: 'kdatum'},
-            {header: 'Text', dataIndex: 'ktext', flex: 1}
-        ];
+        this.dockedItems = [{
+            xtype: 'toolbar',
+            dock: 'top',
+            items: [{
+                text: 'Hinzufügen',
+                icon: 'gfx/list-add.png',
+                action: 'add',
+                probeId: this.probeId
+            }, {
+                text: 'Löschen',
+                icon: 'gfx/list-remove.png',
+                action: 'delete'
+            }]
+        }];
+        this.columns = [{
+            header: 'Erzeuger',
+            dataIndex: 'erzeuger'
+        }, {
+            header: 'Datum',
+            dataIndex: 'kdatum'
+        }, {
+            header: 'Text',
+            dataIndex: 'ktext',
+            flex: 1
+        }];
         this.callParent(arguments);
     }
 });

http://lada.wald.intevation.org