Mercurial > lada > lada-client
diff 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 |
line wrap: on
line diff
--- a/app/view/mkommentare/Create.js Thu Nov 06 10:38:17 2014 +0100 +++ b/app/view/mkommentare/Create.js Thu Nov 06 10:59:03 2014 +0100 @@ -13,6 +13,10 @@ extend: 'Ext.window.Window', alias: 'widget.mkommentarecreate', + requires: [ + 'Lada.view.mkommentare.CreateForm' + ], + title: 'Maske für Messungskommentare', // Make size of the dialog dependend of the available space. // TODO: Handle resizing the browser window. @@ -20,9 +24,6 @@ autoScroll: true, modal: true, - requires: [ - 'Lada.view.mkommentare.CreateForm' - ], initComponent: function() { var form = Ext.create('Lada.view.mkommentare.CreateForm', this.initialConfig);