Mercurial > lada > lada-client
view app/view/messungen/Create.js @ 173:1a11ae666f11
Added options to open dialogs directly without the need to click through the
applications.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 03 Jul 2013 16:49:41 +0200 |
parents | cfa0cc437781 |
children | 5878159209df |
line wrap: on
line source
Ext.define('Lada.view.messungen.Create', { extend: 'Ext.window.Window', alias: 'widget.messungencreate', title: 'Maske für Messungen', // Make size of the dialog dependend of the available space. // TODO: Handle resizing the browser window. width: Ext.getBody().getViewSize().width - 30, height: Ext.getBody().getViewSize().height - 30, autoShow: true, autoScroll: true, modal: true, requires: [ 'Lada.view.messungen.CreateForm' ], initComponent: function() { var form = Ext.create('Lada.view.messungen.CreateForm', this.initialConfig); this.items = [form]; this.buttons = [ { text: 'Speichern', scope: form } ]; this.callParent(); } });