Mercurial > lada > lada-client
comparison app/view/status/Create.js @ 199:30ba9a98d627
Added forms to create a Messstatus
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 08 Jul 2013 16:14:58 +0200 |
parents | |
children | 11f8a2c1b610 |
comparison
equal
deleted
inserted
replaced
198:808c24773713 | 199:30ba9a98d627 |
---|---|
1 Ext.define('Lada.view.status.Create', { | |
2 extend: 'Ext.window.Window', | |
3 alias: 'widget.statuscreate', | |
4 | |
5 title: 'Maske für den Messstatus', | |
6 autoShow: true, | |
7 autoScroll: true, | |
8 modal: true, | |
9 | |
10 initComponent: function() { | |
11 var form = Ext.create('Lada.view.status.CreateForm', this.initialConfig); | |
12 this.items = [form]; | |
13 this.buttons = [ | |
14 { | |
15 text: 'Speichern', | |
16 scope: form, | |
17 action: 'save' | |
18 } | |
19 ]; | |
20 this.callParent(); | |
21 } | |
22 }); |