Mercurial > lada > lada-client
view app/view/messungen/Create.js @ 380:eb79d9bf3929
Added an export button to trigger export action for a selected (single) probe
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 27 Aug 2013 10:14:30 +0200 |
parents | eccf58d3b106 |
children | f9bb1ecf6462 |
line wrap: on
line source
/* * Window to create a Messung */ Ext.define('Lada.view.messungen.Create', { extend: 'Ext.window.Window', alias: 'widget.messungencreate', 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.CreateForm' ], initComponent: function() { this.buttons = [ { text: 'Speichern', scope: form, action: 'save' }, { text: 'Abbrechen', scope: this, handler: this.close, } ]; var form = Ext.create('Lada.view.messungen.CreateForm', this.initialConfig); this.items = [form]; this.callParent(); } });