comparison app/view/zusatzwerte/Create.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 * Window to create and edit a Probenzusatzwert 10 * Window to create and edit a Probenzusatzwert
11 */ 11 */
17 autoShow: true, 17 autoShow: true,
18 autoScroll: true, 18 autoScroll: true,
19 modal: true, 19 modal: true,
20 20
21 initComponent: function() { 21 initComponent: function() {
22 var form = Ext.create('Lada.view.zusatzwerte.CreateForm',
23 this.initialConfig);
22 this.buttons = [{ 24 this.buttons = [{
23 text: 'Speichern', 25 text: 'Speichern',
24 scope: form, 26 scope: form,
25 action: 'save' 27 action: 'save'
26 }, { 28 }, {
27 text: 'Abbrechen', 29 text: 'Abbrechen',
28 scope: this, 30 scope: this,
29 handler: this.close 31 handler: this.close
30 }]; 32 }];
31 var form = Ext.create('Lada.view.zusatzwerte.CreateForm',
32 this.initialConfig);
33 this.items = [form]; 33 this.items = [form];
34 this.callParent(); 34 this.callParent();
35 } 35 }
36 }); 36 });

http://lada.wald.intevation.org