Mercurial > lada > lada-client
comparison app/view/kommentare/List.js @ 497:7c0653e8d9f7
Fixed some js related issues (unused vars, arrays, etc.) and code style.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 06 Nov 2014 10:38:17 +0100 |
parents | 850ccfe5f3c4 |
children | c1b77fb96b01 |
comparison
equal
deleted
inserted
replaced
496:d07e5086a64b | 497:7c0653e8d9f7 |
---|---|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz | 1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz |
2 * Software engineering by Intevation GmbH | 2 * Software engineering by Intevation GmbH |
3 * | 3 * |
4 * This file is Free Software under the GNU GPL (v>=3) | 4 * This file is Free Software under the GNU GPL (v>=3) |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out | 5 * and comes with ABSOLUTELY NO WARRANTY! Check out |
6 * the documentation coming with IMIS-Labordaten-Application for details. | 6 * the documentation coming with IMIS-Labordaten-Application for details. |
7 */ | 7 */ |
8 | 8 |
9 /* | 9 /* |
10 * Grid to list Kommentare | 10 * Grid to list Kommentare |
11 */ | 11 */ |
12 Ext.define('Lada.view.kommentare.List' ,{ | 12 Ext.define('Lada.view.kommentare.List', { |
13 extend: 'Ext.grid.Panel', | 13 extend: 'Ext.grid.Panel', |
14 alias: 'widget.kommentarelist', | 14 alias: 'widget.kommentarelist', |
15 | 15 |
16 store: 'KommentareP', | 16 store: 'KommentareP', |
17 viewConfig: { | 17 viewConfig: { |
42 this.columns = [{ | 42 this.columns = [{ |
43 header: 'Erzeuger', | 43 header: 'Erzeuger', |
44 dataIndex: 'erzeuger' | 44 dataIndex: 'erzeuger' |
45 }, { | 45 }, { |
46 header: 'Datum', | 46 header: 'Datum', |
47 dataIndex: 'kdatum' | 47 dataIndex: 'datum' |
48 }, { | 48 }, { |
49 header: 'Text', | 49 header: 'Text', |
50 dataIndex: 'ktext', | 50 dataIndex: 'text', |
51 flex: 1 | 51 flex: 1 |
52 }]; | 52 }]; |
53 this.callParent(arguments); | 53 this.callParent(arguments); |
54 } | 54 } |
55 }); | 55 }); |
56 |