Mercurial > lada > lada-client
comparison app/view/mkommentare/Create.js @ 498:c1b77fb96b01
Have consistent requires in classes.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 06 Nov 2014 10:59:03 +0100 |
parents | 7c0653e8d9f7 |
children |
comparison
equal
deleted
inserted
replaced
497:7c0653e8d9f7 | 498:c1b77fb96b01 |
---|---|
11 */ | 11 */ |
12 Ext.define('Lada.view.mkommentare.Create', { | 12 Ext.define('Lada.view.mkommentare.Create', { |
13 extend: 'Ext.window.Window', | 13 extend: 'Ext.window.Window', |
14 alias: 'widget.mkommentarecreate', | 14 alias: 'widget.mkommentarecreate', |
15 | 15 |
16 requires: [ | |
17 'Lada.view.mkommentare.CreateForm' | |
18 ], | |
19 | |
16 title: 'Maske für Messungskommentare', | 20 title: 'Maske für Messungskommentare', |
17 // Make size of the dialog dependend of the available space. | 21 // Make size of the dialog dependend of the available space. |
18 // TODO: Handle resizing the browser window. | 22 // TODO: Handle resizing the browser window. |
19 autoShow: true, | 23 autoShow: true, |
20 autoScroll: true, | 24 autoScroll: true, |
21 modal: true, | 25 modal: true, |
22 | 26 |
23 requires: [ | |
24 'Lada.view.mkommentare.CreateForm' | |
25 ], | |
26 initComponent: function() { | 27 initComponent: function() { |
27 var form = Ext.create('Lada.view.mkommentare.CreateForm', | 28 var form = Ext.create('Lada.view.mkommentare.CreateForm', |
28 this.initialConfig); | 29 this.initialConfig); |
29 this.buttons = [{ | 30 this.buttons = [{ |
30 text: 'Speichern', | 31 text: 'Speichern', |