comparison app/view/messungen/Create.js @ 108:6c69bbb61c65

Added Forms to add Messungen
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 19 Jun 2013 14:09:53 +0200
parents
children cfa0cc437781
comparison
equal deleted inserted replaced
107:84f32c62670f 108:6c69bbb61c65
1 Ext.define('Lada.view.messungen.Create', {
2 extend: 'Ext.window.Window',
3 alias: 'widget.messungencreate',
4
5 title: 'Maske für Messungen',
6 // Make size of the dialog dependend of the available space.
7 // TODO: Handle resizing the browser window.
8 width: Ext.getBody().getViewSize().width - 30,
9 height: Ext.getBody().getViewSize().height - 30,
10 autoShow: true,
11 autoScroll: true,
12 modal: true,
13
14 requires: [
15 'Lada.view.messungen.CreateForm'
16 ],
17 initComponent: function() {
18 var form = Ext.create('Lada.view.messungen.CreateForm');
19 this.items = [form];
20 this.buttons = [
21 {
22 text: 'Speichern',
23 handler: form.commit,
24 scope: form
25 }
26 ];
27 this.callParent();
28 }
29 });

http://lada.wald.intevation.org