Mercurial > lada > lada-client
view app/view/messungen/Edit.js @ 347:1536fb5c81b7
Added documentation
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 13 Aug 2013 11:23:51 +0200 |
parents | eccf58d3b106 |
children | f9bb1ecf6462 |
line wrap: on
line source
/* * Window to edit a Messung */ Ext.define('Lada.view.messungen.Edit', { extend: 'Ext.window.Window', alias: 'widget.messungenedit', title: 'Maske für Messungen', width: Ext.getBody().getViewSize().width - 30, height: Ext.getBody().getViewSize().height - 30, autoShow: true, autoScroll: true, modal: true, requires: [ 'Lada.view.messungen.EditForm' ], initComponent: function() { this.buttons = [ { text: 'Speichern', scope: form, action: 'save' }, { text: 'Abbrechen', scope: this, handler: this.close, } ]; var form = Ext.create('Lada.view.messungen.EditForm', this.initialConfig); this.items = [form]; this.callParent(); } });