Mercurial > lada > lada-client
view app/view/messwerte/Create.js @ 270:0d6552bb28ea
Add cancel Button to the editproben window and only show save button if the
form is actually writeable.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 06 Aug 2013 14:33:14 +0200 |
parents | 46cc69277b8e |
children | 11f8a2c1b610 |
line wrap: on
line source
Ext.define('Lada.view.messwerte.Create', { extend: 'Ext.window.Window', alias: 'widget.messwertecreate', title: 'Maske für Messwerte', autoShow: true, autoScroll: true, modal: true, initComponent: function() { this.buttons = [ { text: 'Speichern', scope: form, action: 'save' } ]; var form = Ext.create('Lada.view.messwerte.CreateForm', this.initialConfig); this.items = [form]; this.callParent(); } });