annotate app/view/messungen/Edit.js @ 530:95bad130be98

Increased list grid height.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 17 Dec 2014 11:31:47 +0100
parents 89e3725211ca
children
rev   line source
472
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 422
diff changeset
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 422
diff changeset
2 * Software engineering by Intevation GmbH
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 422
diff changeset
3 *
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 422
diff changeset
4 * This file is Free Software under the GNU GPL (v>=3)
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 422
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
497
7c0653e8d9f7 Fixed some js related issues (unused vars, arrays, etc.) and code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 491
diff changeset
6 * the documentation coming with IMIS-Labordaten-Application for details.
472
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 422
diff changeset
7 */
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 422
diff changeset
8
343
eccf58d3b106 Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 271
diff changeset
9 /*
eccf58d3b106 Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 271
diff changeset
10 * Window to edit a Messung
eccf58d3b106 Added documentation
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 271
diff changeset
11 */
231
edb2b636319f Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 Ext.define('Lada.view.messungen.Edit', {
edb2b636319f Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 extend: 'Ext.window.Window',
edb2b636319f Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 alias: 'widget.messungenedit',
491
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 479
diff changeset
15 requires: [
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 479
diff changeset
16 'Lada.view.messungen.EditForm'
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 479
diff changeset
17 ],
231
edb2b636319f Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
18
512
8818becb8cde Probe and Messung window are now maximizable and collapsible.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 508
diff changeset
19 collapsible: true,
8818becb8cde Probe and Messung window are now maximizable and collapsible.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 508
diff changeset
20 maximizable: true,
8818becb8cde Probe and Messung window are now maximizable and collapsible.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 508
diff changeset
21 title: 'Messung',
231
edb2b636319f Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
22 autoShow: true,
508
ae8582b4f207 Refactored messung edit window layout (LSB 3.8).
Raimund Renkert <raimund.renkert@intevation.de>
parents: 497
diff changeset
23 layout: 'fit',
231
edb2b636319f Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
24
edb2b636319f Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
25 initComponent: function() {
497
7c0653e8d9f7 Fixed some js related issues (unused vars, arrays, etc.) and code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 491
diff changeset
26 var form = Ext.create('Lada.view.messungen.EditForm',
7c0653e8d9f7 Fixed some js related issues (unused vars, arrays, etc.) and code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 491
diff changeset
27 this.initialConfig);
491
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 479
diff changeset
28 this.buttons = [{
517
89e3725211ca Removed save and cancel button from edit messung dialog.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 512
diff changeset
29 text: 'Schließen',
491
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 479
diff changeset
30 scope: this,
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 479
diff changeset
31 handler: this.close
850ccfe5f3c4 Code style.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 479
diff changeset
32 }];
508
ae8582b4f207 Refactored messung edit window layout (LSB 3.8).
Raimund Renkert <raimund.renkert@intevation.de>
parents: 497
diff changeset
33 this.width = 700;
ae8582b4f207 Refactored messung edit window layout (LSB 3.8).
Raimund Renkert <raimund.renkert@intevation.de>
parents: 497
diff changeset
34 this.maxHeight = Ext.getBody().getViewSize().height - 57;
ae8582b4f207 Refactored messung edit window layout (LSB 3.8).
Raimund Renkert <raimund.renkert@intevation.de>
parents: 497
diff changeset
35 this.items = [{
ae8582b4f207 Refactored messung edit window layout (LSB 3.8).
Raimund Renkert <raimund.renkert@intevation.de>
parents: 497
diff changeset
36 border: 0,
ae8582b4f207 Refactored messung edit window layout (LSB 3.8).
Raimund Renkert <raimund.renkert@intevation.de>
parents: 497
diff changeset
37 autoScroll: true,
ae8582b4f207 Refactored messung edit window layout (LSB 3.8).
Raimund Renkert <raimund.renkert@intevation.de>
parents: 497
diff changeset
38 items: [form]
ae8582b4f207 Refactored messung edit window layout (LSB 3.8).
Raimund Renkert <raimund.renkert@intevation.de>
parents: 497
diff changeset
39 }];
231
edb2b636319f Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
40 this.callParent();
edb2b636319f Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
41 }
edb2b636319f Modified create dialogs to only contain fields to create a messung (without,
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
42 });

http://lada.wald.intevation.org