Mercurial > lada > lada-client
comparison app/view/mkommentare/Create.js @ 207:62e116cd3e3b
Inheritance of Mkommentare from Kommentare does not work as expected. So write
mostly duplicated code for MKommentare.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 09 Jul 2013 15:26:29 +0200 |
parents | |
children | 11f8a2c1b610 |
comparison
equal
deleted
inserted
replaced
206:32e1356cf391 | 207:62e116cd3e3b |
---|---|
1 Ext.define('Lada.view.mkommentare.Create', { | |
2 extend: 'Ext.window.Window', | |
3 alias: 'widget.mkommentarecreate', | |
4 | |
5 title: 'Maske für Messungskommentare', | |
6 // Make size of the dialog dependend of the available space. | |
7 // TODO: Handle resizing the browser window. | |
8 autoShow: true, | |
9 autoScroll: true, | |
10 modal: true, | |
11 | |
12 requires: [ | |
13 'Lada.view.mkommentare.CreateForm' | |
14 ], | |
15 initComponent: function() { | |
16 var form = Ext.create('Lada.view.mkommentare.CreateForm', this.initialConfig); | |
17 this.items = [form]; | |
18 this.buttons = [ | |
19 { | |
20 text: 'Speichern', | |
21 scope: form, | |
22 action: 'save' | |
23 } | |
24 ]; | |
25 this.callParent(); | |
26 } | |
27 }); |